fix assertion statement
authorThomas Bluemel <thomas@reactsoft.com>
Thu, 29 Jul 2004 12:03:47 +0000 (12:03 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Thu, 29 Jul 2004 12:03:47 +0000 (12:03 +0000)
svn path=/trunk/; revision=10308

reactos/subsys/win32k/objects/text.c

index eefb58d..66a5ffd 100644 (file)
@@ -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 <w32k.h>
 
 #include <ft2build.h>
@@ -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;
 }