Module: wine Branch: refs/heads/master Commit: 2c86775d91695b99d9364b35a0387c9956156c77 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2c86775d91695b99d9364b35...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Tue May 30 14:13:51 2006 +0200
kernel32: Prevent truncating characters to 8 bits in FormatMessageW.
---
dlls/kernel/format_msg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/format_msg.c b/dlls/kernel/format_msg.c index 3426e25..375c5da 100644 --- a/dlls/kernel/format_msg.c +++ b/dlls/kernel/format_msg.c @@ -362,7 +362,7 @@ #if defined(__i386__) || defined(__sparc LPWSTR from,f; DWORD width = dwFlags & FORMAT_MESSAGE_MAX_WIDTH_MASK; BOOL eos = FALSE; - CHAR ch; + WCHAR ch;
TRACE("(0x%lx,%p,%ld,0x%lx,%p,%ld,%p)\n", dwFlags,lpSource,dwMessageId,dwLanguageId,lpBuffer,nSize,args);