From 4387895d86c5ad64ef8ae5ce4de1ef5274f4dc24 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 13 Sep 2004 18:02:32 +0000 Subject: [PATCH] Correct displaying of wizard subtitle. --- dlls/comctl32/propsheet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index 061ed9fc8d0..8d1759e70b3 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -3156,7 +3156,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd) if (ppshpage->dwFlags & PSP_USEHEADERSUBTITLE) { SelectObject(hdc, psInfo->hFont); - SetRect(&r, 40, 25, 0, 0); + SetRect(&r, 40, 25, rzone.right - 69, rzone.bottom); if (HIWORD(ppshpage->pszHeaderTitle)) { if (psInfo->unicode) @@ -3173,7 +3173,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd) if (nLength != 0) { DrawTextW(hdc, szBuffer, nLength, - &r, DT_LEFT | DT_SINGLELINE | DT_NOCLIP); + &r, DT_LEFT | DT_SINGLELINE); } } } -- 2.11.4.GIT