diff --git a/reactos/subsys/win32k/objects/text.c b/reactos/subsys/win32k/objects/text.c index eefb58d8b9f..66a5ffd099e 100644 --- a/reactos/subsys/win32k/objects/text.c +++ b/reactos/subsys/win32k/objects/text.c @@ -22,7 +22,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.106 2004/07/23 20:46:20 jfilby Exp $ */ +/* $Id: text.c,v 1.107 2004/07/29 12:03:47 weiden Exp $ */ #include #include @@ -2967,7 +2967,7 @@ TextIntRealizeFont(HFONT FontHandle) RtlFreeUnicodeString(&FaceName); TEXTOBJ_UnlockText(FontHandle); - ASSERT(! NT_SUCCESS(Status) || NULL != TextObj->GDIFontHandle); + ASSERT(! NT_SUCCESS(Status) && NULL != TextObj->GDIFontHandle); return Status; }