Dmitry Timoshkov : comctl32: psInfo->proppage[index].
pszText is always initialized to a
Alexandre Julliard
julliard at wine.codeweavers.com
Mon May 8 08:01:58 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 34cf29efbb1d71c2fc59988bb1c25a7a5ee8f49c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=34cf29efbb1d71c2fc59988bb1c25a7a5ee8f49c
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Fri May 5 22:58:26 2006 +0900
comctl32: psInfo->proppage[index].pszText is always initialized to a
proper value regardless of PSP_USETITLE, use it unconditionally.
---
dlls/comctl32/propsheet.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 141b794..f9d5a48 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -1606,8 +1606,7 @@ static BOOL PROPSHEET_ShowPage(HWND hwnd
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);
More information about the wine-cvs
mailing list