Do not crash if there was no files selected and OK button was pressed.
This commit is contained in:
parent
9405793109
commit
14264c0fd6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue