comctl32: psInfo->proppage[index].pszText is always initialized to a

proper value regardless of PSP_USETITLE, use it unconditionally.
This commit is contained in:
Dmitry Timoshkov 2006-05-05 22:58:26 +09:00 committed by Alexandre Julliard
parent 5f875b0912
commit 34cf29efbb
1 changed files with 1 additions and 2 deletions

View File

@ -1606,8 +1606,7 @@ static BOOL PROPSHEET_ShowPage(HWND hwndDlg, int index, PropSheetInfo * psInfo)
PROPSHEET_CreatePage(hwndDlg, index, psInfo, ppshpage);
}
if ((psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD) &&
(ppshpage->dwFlags & PSP_USETITLE))
if (psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)
{
PROPSHEET_SetTitleW(hwndDlg, psInfo->ppshheader.dwFlags,
psInfo->proppage[index].pszText);