Module: wine Branch: master Commit: 9e4d6e6110568c7f4ef2beeff4ca7b0c3dc23b89 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e4d6e6110568c7f4ef2beeff4...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Tue Oct 28 19:49:45 2008 +1100
comdlg32: Fix test under win98.
---
dlls/comdlg32/tests/filedlg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c index 09a2428..e05f5a9 100644 --- a/dlls/comdlg32/tests/filedlg.c +++ b/dlls/comdlg32/tests/filedlg.c @@ -254,7 +254,7 @@ static void test_create_view_template(void) ofn.nMaxFile = 1042; ofn.lpfnHook = (LPOFNHOOKPROC)template_hook; ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE; - ofn.hInstance = GetModuleHandleW(NULL); + ofn.hInstance = GetModuleHandleA(NULL); ofn.lpTemplateName = "template1"; ofn.lpstrFilter="text\0*.txt\0All\0*\0\0"; ret = GetOpenFileNameA(&ofn);