Author: gschneider
Date: Tue Jun 1 21:36:43 2010
New Revision: 47515
URL:
http://svn.reactos.org/svn/reactos?rev=47515&view=rev
Log:
[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
Modified:
trunk/reactos/base/applications/fontview/display.c
Modified: trunk/reactos/base/applications/fontview/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/display.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/display.c [iso-8859-1] Tue Jun 1 21:36:43
2010
@@ -103,7 +103,7 @@
/* 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));