filedlg16 fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
--- 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 */
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux