filedlg16 fix

Rein Klazes rklazes at xs4all.nl
Mon Dec 29 12:55:07 CST 2003


Hi,

This bug made the file dialog in WordStar unusable. The program - via a
hook procedure - does try to set the directory this way.

Changelog:
	dlls/commdlg	: filedlg16.c
	When a directory is entered in the 16 bits file dialog, it
	should not be returned the user. Instead the directory must be
	changed and the dialog work from there.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/./dlls/commdlg/filedlg16.c	2003-12-12 09:57:35.000000000 +0100
+++ mywine/./dlls/commdlg/filedlg16.c	2003-12-29 19:24:59.000000000 +0100
@@ -691,7 +691,7 @@
 
     /* if ScanDir succeeds, we have changed the directory */
     if (FILEDLG_ScanDir(hWnd, path))
-        return TRUE;
+        return FALSE; /* and path is not a valid file name */
 
     /* if not, this must be a filename */
 


More information about the wine-patches mailing list