Correct displaying of wizard subtitle.

This commit is contained in:
Filip Navara 2004-09-13 18:02:32 +00:00 committed by Alexandre Julliard
parent adc6948c4c
commit 4387895d86
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}