conhost: Use standard va_list instead of __ms_va_list.

This commit is contained in:
Alexandre Julliard 2023-02-20 08:39:18 +01:00
parent ad30e4f9ba
commit 9efe1a32a2

View file

@ -1549,7 +1549,7 @@ static BOOL select_font( struct dialog_info *di )
args[0] = di->config.cell_width; args[0] = di->config.cell_width;
args[1] = di->config.cell_height; args[1] = di->config.cell_height;
FormatMessageW( FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY, FormatMessageW( FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY,
fmt, 0, 0, buf, ARRAY_SIZE(buf), (__ms_va_list*)args ); fmt, 0, 0, buf, ARRAY_SIZE(buf), (va_list *)args );
SendDlgItemMessageW( di->dialog, IDC_FNT_FONT_INFO, WM_SETTEXT, 0, (LPARAM)buf ); SendDlgItemMessageW( di->dialog, IDC_FNT_FONT_INFO, WM_SETTEXT, 0, (LPARAM)buf );
return TRUE; return TRUE;