comctl32: Avoid a potential NULL pointer dereference in a TRACE.
This commit is contained in:
parent
dfdb349cdc
commit
02b4103868
dlls/comctl32
|
@ -1962,13 +1962,13 @@ static BOOL PROPSHEET_CanSetCurSel(HWND hwndDlg)
|
|||
PSHNOTIFY psn;
|
||||
BOOL res = FALSE;
|
||||
|
||||
TRACE("active_page %d\n", psInfo->active_page);
|
||||
if (!psInfo)
|
||||
{
|
||||
res = FALSE;
|
||||
goto end;
|
||||
}
|
||||
|
||||
TRACE("active_page %d\n", psInfo->active_page);
|
||||
if (psInfo->active_page < 0)
|
||||
{
|
||||
res = TRUE;
|
||||
|
|
Loading…
Reference in New Issue