mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
reg.exe: Get rid of remaining uses of Unicode macros.
This commit is contained in:
parent
6986975816
commit
90685fcf03
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@ VPATH = @srcdir@
|
|||
MODULE = reg.exe
|
||||
APPMODE = -mconsole -municode
|
||||
IMPORTS = advapi32 user32 kernel32
|
||||
EXTRADEFS = -DUNICODE
|
||||
|
||||
C_SRCS = reg.c
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ static int reg_printfW(const WCHAR *msg, ...)
|
|||
WCHAR msg_buffer[8192];
|
||||
|
||||
va_start(va_args, msg);
|
||||
wvsprintf(msg_buffer, msg, va_args);
|
||||
wvsprintfW(msg_buffer, msg, va_args);
|
||||
va_end(va_args);
|
||||
|
||||
wlen = lstrlenW(msg_buffer);
|
||||
|
@ -57,7 +57,7 @@ static int reg_message(int msg, ...)
|
|||
va_list va_args;
|
||||
WCHAR msg_buffer[8192];
|
||||
|
||||
LoadString(GetModuleHandle(NULL), msg, msg_buffer,
|
||||
LoadStringW(GetModuleHandleW(NULL), msg, msg_buffer,
|
||||
sizeof(msg_buffer)/sizeof(WCHAR));
|
||||
va_start(va_args, msg);
|
||||
reg_printfW(msg_buffer, va_args);
|
||||
|
|
Loading…
Reference in a new issue