From c3fedb7f0b7b553ecbdd1820dbe639634a0a354d Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 12 Dec 2003 22:57:26 +0000 Subject: [PATCH] little bugfix svn path=/trunk/; revision=6982 --- reactos/subsys/win32k/objects/text.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/objects/text.c b/reactos/subsys/win32k/objects/text.c index c1b1fbfd0d9..a7b2704084d 100644 --- a/reactos/subsys/win32k/objects/text.c +++ b/reactos/subsys/win32k/objects/text.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: text.c,v 1.58 2003/12/12 22:50:20 weiden Exp $ */ +/* $Id: text.c,v 1.59 2003/12/12 22:57:26 weiden Exp $ */ #undef WIN32_LEAN_AND_MEAN @@ -1384,7 +1384,6 @@ TextIntRealizeFont(HFONT FontHandle) } Entry = Entry->Flink; } - ExReleaseFastMutex(&FontListLock); if (NULL == TextObj->GDIFontHandle) { @@ -1404,6 +1403,8 @@ TextIntRealizeFont(HFONT FontHandle) } } + + ExReleaseFastMutex(&FontListLock); ASSERT(! NT_SUCCESS(Status) || NULL != TextObj->GDIFontHandle);