Paul Vriens : comdlg32/tests: Fix some typos.

Alexandre Julliard julliard at winehq.org
Wed Jun 17 10:43:29 CDT 2009


Module: wine
Branch: master
Commit: 5d898e3ebeaba3bdd5b70201b832c82d79b6e351
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5d898e3ebeaba3bdd5b70201b832c82d79b6e351

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Wed Jun 17 13:27:16 2009 +0200

comdlg32/tests: Fix some typos.

---

 dlls/comdlg32/tests/filedlg.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c
index 6280c89..0cd1e63 100644
--- a/dlls/comdlg32/tests/filedlg.c
+++ b/dlls/comdlg32/tests/filedlg.c
@@ -241,7 +241,7 @@ static void test_create_view_window2(void)
 
     ofn.lStructSize = sizeof(ofn);
     ofn.lpstrFile = filename;
-    ofn.nMaxFile = 1042;
+    ofn.nMaxFile = 1024;
     ofn.lpfnHook = create_view_window2_hook;
     ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER;
     ret = GetOpenFileNameA(&ofn);
@@ -258,7 +258,7 @@ static void test_create_view_template(void)
 
     ofn.lStructSize = sizeof(ofn);
     ofn.lpstrFile = filename;
-    ofn.nMaxFile = 1042;
+    ofn.nMaxFile = 1024;
     ofn.lpfnHook = (LPOFNHOOKPROC)template_hook;
     ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE;
     ofn.hInstance = GetModuleHandleA(NULL);
@@ -384,7 +384,7 @@ static void test_resize(void)
     int i;
 
     ofn.lpstrFile = filename;
-    ofn.nMaxFile = 1042;
+    ofn.nMaxFile = 1024;
     ofn.lpfnHook = (LPOFNHOOKPROC) resize_template_hook;
     ofn.hInstance = GetModuleHandle(NULL);
     ofn.lpTemplateName = "template_sz";




More information about the wine-cvs mailing list