Commit 4387895d authored by Filip Navara's avatar Filip Navara Committed by Alexandre Julliard

Correct displaying of wizard subtitle.

parent adc6948c
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment