comdlg32: Fix a crash in LookIn combo box WM_COMMAND message handler.
This commit is contained in:
parent
fd80a7b7c4
commit
17e9174076
|
@ -2787,6 +2787,8 @@ static BOOL FILEDLG95_LOOKIN_OnCommand(HWND hwnd, WORD wNotifyCode)
|
|||
|
||||
iItem = CBGetCurSel(fodInfos->DlgInfos.hwndLookInCB);
|
||||
|
||||
if( iItem == CB_ERR) return FALSE;
|
||||
|
||||
if(!(tmpFolder = (LPSFOLDER) CBGetItemDataPtr(fodInfos->DlgInfos.hwndLookInCB,
|
||||
iItem)))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue