Commit 90685fcf authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 69869758
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment