[ros-diffs] [tkreuzer] 50972: [WIN32K] Unlock the font in PATH_ExtTextOut. Fixes a failed assertion, when running google earth.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Mar 5 12:18:29 UTC 2011


Author: tkreuzer
Date: Sat Mar  5 12:18:28 2011
New Revision: 50972

URL: http://svn.reactos.org/svn/reactos?rev=50972&view=rev
Log:
[WIN32K]
Unlock the font in PATH_ExtTextOut. Fixes a failed assertion, when running google earth.

Modified:
    trunk/reactos/subsystems/win32/win32k/objects/path.c

Modified: trunk/reactos/subsystems/win32/win32k/objects/path.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/path.c?rev=50972&r1=50971&r2=50972&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] Sat Mar  5 12:18:28 2011
@@ -2041,6 +2041,7 @@
     if ( !TextObj ) return FALSE;
 
     FontGetObject( TextObj, sizeof(lf), &lf);
+    TEXTOBJ_UnlockText(TextObj);
 
     if (lf.lfEscapement != 0)
     {




More information about the Ros-diffs mailing list