diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index 25a921807de..45c7fe365ef 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -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;