comctl32: Avoid a potential NULL pointer dereference in a TRACE.

This commit is contained in:
Michael Stefaniuc 2010-05-25 10:06:33 +02:00 committed by Alexandre Julliard
parent dfdb349cdc
commit 02b4103868
1 changed files with 1 additions and 1 deletions

View File

@ -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;