Author: fireball Date: Sat Sep 8 22:44:33 2007 New Revision: 28954
URL: http://svn.reactos.org/svn/reactos?rev=28954&view=rev Log: - Don't unlock a not locked TEXTOBJ. Solves booting issue under vmware.
Modified: trunk/reactos/subsystems/win32/win32k/objects/text.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/text.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/obj... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/text.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/text.c Sat Sep 8 22:44:33 2007 @@ -3483,10 +3483,10 @@ { Result = TextIntGetTextExtentPoint(dc, TextObj, String, Count, MaxExtent, NULL == UnsafeFit ? NULL : &Fit, Dx, &Size); + TEXTOBJ_UnlockText(TextObj); } else Result = FALSE; - TEXTOBJ_UnlockText(TextObj); DC_UnlockDc(dc);
ExFreePool(String);