[PATCH] comctl32: Fix 'pszHeaderTitle' copypasta.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Thu Nov 4 03:11:49 CDT 2021


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
Addendum to
https://source.winehq.org/git/wine.git/commit/335983ed9172e1a985c5b237676cf6e5832a10ef

Part of
ReactOS-Bug: https://jira.reactos.org/browse/CORE-12912
---
 dlls/comctl32/propsheet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 1604b9e..556d63f 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -3372,7 +3372,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd, HDC hdcParam)
 	if (ppshpage->dwFlags & PSP_USEHEADERSUBTITLE) {
 	    SelectObject(hdc, psInfo->hFont);
 	    SetRect(&r, 40, 25, rzone.right - 69, rzone.bottom);
-            if (!IS_INTRESOURCE(ppshpage->pszHeaderTitle))
+            if (!IS_INTRESOURCE(ppshpage->pszHeaderSubTitle))
                 DrawTextW(hdc, ppshpage->pszHeaderSubTitle, -1, &r, DT_LEFT | DT_WORDBREAK);
 	    else
 	    {
-- 
2.10.0.windows.1




More information about the wine-devel mailing list