Commit 17e91740 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

comdlg32: Fix a crash in LookIn combo box WM_COMMAND message handler.

parent fd80a7b7
......@@ -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;
......
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