[ros-diffs] [tkreuzer] 40080: "same thing in BmfdUnloadFontFile btw :p" Thanks Stefam again.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Mar 17 22:39:18 CET 2009


Author: tkreuzer
Date: Wed Mar 18 00:39:17 2009
New Revision: 40080

URL: http://svn.reactos.org/svn/reactos?rev=40080&view=rev
Log:
"same thing in BmfdUnloadFontFile btw :p"
Thanks Stefam again.

Modified:
    trunk/reactos/drivers/video/font/bmfd/font.c

Modified: trunk/reactos/drivers/video/font/bmfd/font.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/font/bmfd/font.c?rev=40080&r1=40079&r2=40080&view=diff
==============================================================================
--- trunk/reactos/drivers/video/font/bmfd/font.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/font/bmfd/font.c [iso-8859-1] Wed Mar 18 00:39:17 2009
@@ -302,11 +302,11 @@
 
     DbgPrint("BmfdUnloadFontFile()\n");
 
+    /* Unmap the font file */
+    EngUnmapFontFileFD(pfile->iFile);
+
     /* Free the memory that was allocated for the font */
     EngFreeMem(pfile);
-
-    /* Unmap the font file */
-    EngUnmapFontFileFD(pfile->iFile);
 
     return TRUE;
 }



More information about the Ros-diffs mailing list