Sync to trunk head (r47736)
[reactos.git] / 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));