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