mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
svn path=/trunk/; revision=47515
This commit is contained in:
parent
2acf45f081
commit
b5781444a5
|
@ -103,7 +103,7 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
|
|||
/* TODO: Output font info */
|
||||
|
||||
/* Output Character set */
|
||||
hOldFont = SelectObject(hDC, pData->hCharSetFont);
|
||||
SelectObject(hDC, pData->hCharSetFont);
|
||||
GetTextMetrics(hDC, &tm);
|
||||
swprintf(szCaption, L"abcdefghijklmnopqrstuvwxyz");
|
||||
TextOutW(hDC, 0, y, szCaption, wcslen(szCaption));
|
||||
|
|
Loading…
Reference in a new issue