reg.exe: Get rid of remaining uses of Unicode macros.

This commit is contained in:
Alexandre Julliard 2008-09-04 14:08:12 +02:00
parent 6986975816
commit 90685fcf03
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE = reg.exe
APPMODE = -mconsole -municode
IMPORTS = advapi32 user32 kernel32
EXTRADEFS = -DUNICODE
C_SRCS = reg.c

View file

@ -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);