Commit 14264c0f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent 94057931
......@@ -1176,7 +1176,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
/* try if the user selected a folder in the shellview */
if(nFileCount == 0)
{
if (BrowseSelectedFolder(hwnd))
BrowseSelectedFolder(hwnd);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment