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.
This commit is contained in:
Rein Klazes 2003-12-30 19:10:53 +00:00 committed by Alexandre Julliard
parent 88c25c86e5
commit 66e5a82c15

View File

@ -691,7 +691,7 @@ static LRESULT FILEDLG_TestPath( LFSPRIVATE lfs, LPWSTR path )
/* if ScanDir succeeds, we have changed the directory */ /* if ScanDir succeeds, we have changed the directory */
if (FILEDLG_ScanDir(hWnd, path)) if (FILEDLG_ScanDir(hWnd, path))
return TRUE; return FALSE; /* and path is not a valid file name */
/* if not, this must be a filename */ /* if not, this must be a filename */