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

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