uninstaller: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-25 11:02:12 +02:00
parent 2c2e75503b
commit 9183aec7c7
1 changed files with 7 additions and 7 deletions

View File

@ -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);
}
/**