Commit 9183aec7 authored by Alexandre Julliard's avatar Alexandre Julliard

uninstaller: Use the standard va_list instead of __ms_va_list.

parent 2c2e7550
......@@ -70,7 +70,7 @@ static void output_writeconsole(const WCHAR *str, DWORD len)
}
}
static void output_formatstring(const WCHAR *fmt, __ms_va_list va_args)
static void output_formatstring(const WCHAR *fmt, va_list va_args)
{
WCHAR *str;
DWORD len;
......@@ -89,25 +89,25 @@ static void output_formatstring(const WCHAR *fmt, __ms_va_list va_args)
static void WINAPIV output_message(unsigned int id, ...)
{
WCHAR fmt[1024];
__ms_va_list va_args;
va_list va_args;
if (!LoadStringW(GetModuleHandleW(NULL), id, fmt, ARRAY_SIZE(fmt)))
{
WINE_FIXME("LoadString failed with %d\n", GetLastError());
return;
}
__ms_va_start(va_args, id);
va_start(va_args, id);
output_formatstring(fmt, va_args);
__ms_va_end(va_args);
va_end(va_args);
}
static void WINAPIV output_array(const WCHAR *fmt, ...)
{
__ms_va_list va_args;
va_list va_args;
__ms_va_start(va_args, fmt);
va_start(va_args, fmt);
output_formatstring(fmt, va_args);
__ms_va_end(va_args);
va_end(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