[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 5 Mar 2011 12:18:28 +0000 (12:18 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 5 Mar 2011 12:18:28 +0000 (12:18 +0000)
Unlock the font in PATH_ExtTextOut. Fixes a failed assertion, when running google earth.

svn path=/trunk/; revision=50972

reactos/subsystems/win32/win32k/objects/path.c

index 99e18f8..1ff5f42 100644 (file)
@@ -2041,6 +2041,7 @@ PATH_ExtTextOut(PDC dc, INT x, INT y, UINT flags, const RECTL *lprc,
     if ( !TextObj ) return FALSE;
 
     FontGetObject( TextObj, sizeof(lf), &lf);
+    TEXTOBJ_UnlockText(TextObj);
 
     if (lf.lfEscapement != 0)
     {