Serge Gautherie : comctl32: Fix 'pszHeaderTitle' copypasta.
Alexandre Julliard
julliard at winehq.org
Thu Nov 4 17:04:22 CDT 2021
Module: wine
Branch: master
Commit: 16a17576a0d82626761de5145a9eacb399fd8f2b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=16a17576a0d82626761de5145a9eacb399fd8f2b
Author: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Date: Thu Nov 4 09:11:49 2021 +0100
comctl32: Fix 'pszHeaderTitle' copypasta.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 1604b9e9619..556d63f2c75 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
{
More information about the wine-cvs
mailing list