Commit 9e4d6e61 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

comdlg32: Fix test under win98.

parent d1791f81
...@@ -254,7 +254,7 @@ static void test_create_view_template(void) ...@@ -254,7 +254,7 @@ static void test_create_view_template(void)
ofn.nMaxFile = 1042; ofn.nMaxFile = 1042;
ofn.lpfnHook = (LPOFNHOOKPROC)template_hook; ofn.lpfnHook = (LPOFNHOOKPROC)template_hook;
ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE; ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE;
ofn.hInstance = GetModuleHandleW(NULL); ofn.hInstance = GetModuleHandleA(NULL);
ofn.lpTemplateName = "template1"; ofn.lpTemplateName = "template1";
ofn.lpstrFilter="text\0*.txt\0All\0*\0\0"; ofn.lpstrFilter="text\0*.txt\0All\0*\0\0";
ret = GetOpenFileNameA(&ofn); ret = GetOpenFileNameA(&ofn);
......
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