Unlock the font in PATH_ExtTextOut. Fixes a failed assertion, when running google earth.

svn path=/trunk/; revision=50972
This commit is contained in:
Timo Kreuzer 2011-03-05 12:18:28 +00:00
parent a2d0ce8261
commit 31ebce8a90

View 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)
{