[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
authorGregor Schneider <grschneider@gmail.com>
Tue, 1 Jun 2010 19:36:43 +0000 (19:36 +0000)
committerGregor Schneider <grschneider@gmail.com>
Tue, 1 Jun 2010 19:36:43 +0000 (19:36 +0000)
svn path=/trunk/; revision=47515

reactos/base/applications/fontview/display.c

index 1362e4a..55272ee 100644 (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));