[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182

svn path=/trunk/; revision=47515
This commit is contained in:
Gregor Schneider 2010-06-01 19:36:43 +00:00
parent 2acf45f081
commit b5781444a5

View file

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