[ros-diffs] [gschneider] 47515: [FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182

gschneider at svn.reactos.org gschneider at svn.reactos.org
Tue Jun 1 21:36:44 CEST 2010


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/display.c?rev=47515&r1=47514&r2=47515&view=diff
==============================================================================
--- 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));




More information about the Ros-diffs mailing list