property sheet patch #1

Dmitry Timoshkov dmitry at codeweavers.com
Fri May 5 08:58:26 CDT 2006


Hello,

Changelog:
    psInfo->proppage[index].pszText is always initialized to a proper
    value regardless of PSP_USETITLE, use it unconditionally.

--- cvs/hq/wine/dlls/comctl32/propsheet.c	2006-05-05 22:32:50.000000000 +0900
+++ wine/dlls/comctl32/propsheet.c	2006-05-05 22:33:19.000000000 +0900
@@ -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-patches mailing list