Commit 3cdb3f29 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Check for NULL ptr in Propsheet_RemovePage (Xing DVD Player).

parent 7916ca31
...@@ -1486,8 +1486,13 @@ static BOOL PROPSHEET_RemovePage(HWND hwndDlg, ...@@ -1486,8 +1486,13 @@ static BOOL PROPSHEET_RemovePage(HWND hwndDlg,
PropSheetInfo * psInfo = (PropSheetInfo*) GetPropA(hwndDlg, PropSheetInfo * psInfo = (PropSheetInfo*) GetPropA(hwndDlg,
PropSheetInfoStr); PropSheetInfoStr);
HWND hwndTabControl = GetDlgItem(hwndDlg, IDC_TABCONTROL); 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. * hpage takes precedence over index.
*/ */
......
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