Check for NULL ptr in Propsheet_RemovePage (Xing DVD Player).
This commit is contained in:
parent
7916ca314b
commit
3cdb3f2984
|
@ -1486,8 +1486,13 @@ static BOOL PROPSHEET_RemovePage(HWND hwndDlg,
|
|||
PropSheetInfo * psInfo = (PropSheetInfo*) GetPropA(hwndDlg,
|
||||
PropSheetInfoStr);
|
||||
HWND hwndTabControl = GetDlgItem(hwndDlg, IDC_TABCONTROL);
|
||||
PropPageInfo* oldPages = psInfo->proppage;
|
||||
PropPageInfo* oldPages;
|
||||
|
||||
if (!psInfo) {
|
||||
FIXME("No psInfo for propertysheet at windows 0x%04x? returning FALSE...\n");
|
||||
return FALSE;
|
||||
}
|
||||
oldPages = psInfo->proppage;
|
||||
/*
|
||||
* hpage takes precedence over index.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue