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:
parent
88c25c86e5
commit
66e5a82c15
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue