Commit 1250131b authored by Alexandre Julliard's avatar Alexandre Julliard

comdlg32: Use standard va_list instead of __ms_va_list.

parent ee165ebd
......@@ -1108,8 +1108,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFO
args[0] = lpcf->nSizeMin;
args[1] = lpcf->nSizeMax;
FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY,
format, 0, 0, msgW, ARRAY_SIZE(msgW),
(__ms_va_list*)args);
format, 0, 0, msgW, ARRAY_SIZE(msgW), (va_list *)args);
MessageBoxW(hDlg, msgW, NULL, MB_OK);
}
return(TRUE);
......
......@@ -696,9 +696,7 @@ static BOOL PRINTDLG_UpdatePrintDlgW(HWND hDlg,
args[0] = lppd->nMinPage;
args[1] = lppd->nMaxPage;
FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY,
resourcestr, 0, 0, resultstr,
ARRAY_SIZE(resultstr),
(__ms_va_list*)args);
resourcestr, 0, 0, resultstr, ARRAY_SIZE(resultstr), (va_list *)args);
LoadStringW(COMDLG32_hInstance, PD32_PRINT_TITLE,
resourcestr, 255);
MessageBoxW(hDlg, resultstr, resourcestr,
......
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