Do not crash if there was no files selected and OK button was pressed.

This commit is contained in:
Dmitry Timoshkov 2000-07-08 11:45:58 +00:00 committed by Alexandre Julliard
parent 9405793109
commit 14264c0fd6
1 changed files with 1 additions and 1 deletions

View File

@ -1176,7 +1176,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
/* try if the user selected a folder in the shellview */ /* try if the user selected a folder in the shellview */
if(nFileCount == 0) if(nFileCount == 0)
{ {
if (BrowseSelectedFolder(hwnd)) BrowseSelectedFolder(hwnd);
return FALSE; return FALSE;
} }