Commit 02b41038 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent dfdb349c
......@@ -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;
......
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