From: Timo Kreuzer Date: Sat, 5 Mar 2011 12:18:28 +0000 (+0000) Subject: [WIN32K] X-Git-Tag: ReactOS-0.3.13~71 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=31ebce8a901360c34ae7c8b0ce4b27b921f5dd7a [WIN32K] Unlock the font in PATH_ExtTextOut. Fixes a failed assertion, when running google earth. svn path=/trunk/; revision=50972 --- diff --git a/reactos/subsystems/win32/win32k/objects/path.c b/reactos/subsystems/win32/win32k/objects/path.c index 99e18f80969..1ff5f429a52 100644 --- a/reactos/subsystems/win32/win32k/objects/path.c +++ b/reactos/subsystems/win32/win32k/objects/path.c @@ -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) {