mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
little bugfix
svn path=/trunk/; revision=6982
This commit is contained in:
parent
98f06b02ed
commit
c3fedb7f0b
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
@ -1405,6 +1404,8 @@ TextIntRealizeFont(HFONT FontHandle)
|
|||
|
||||
}
|
||||
|
||||
ExReleaseFastMutex(&FontListLock);
|
||||
|
||||
ASSERT(! NT_SUCCESS(Status) || NULL != TextObj->GDIFontHandle);
|
||||
|
||||
TEXTOBJ_UnlockText(FontHandle);
|
||||
|
|
Loading…
Reference in a new issue