[WIN32SS][FONT] Add some assertions (#1098)
[reactos.git] / win32ss / gdi / ntgdi / freetype.c
index d6aafb5..fb823d4 100644 (file)
@@ -1631,6 +1631,7 @@ TextIntCreateFontIndirect(CONST LPLOGFONTW lf, HFONT *NewFont)
     PLFONT plfont;
     LOGFONTW *plf;
 
+    ASSERT(lf);
     plfont = LFONT_AllocFontWithHandle();
     if (!plfont)
     {