projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIN32SS][FONT] Add some assertions (#1098)
[reactos.git]
/
win32ss
/
gdi
/
ntgdi
/
freetype.c
diff --git
a/win32ss/gdi/ntgdi/freetype.c
b/win32ss/gdi/ntgdi/freetype.c
index
d6aafb5
..
fb823d4
100644
(file)
--- a/
win32ss/gdi/ntgdi/freetype.c
+++ b/
win32ss/gdi/ntgdi/freetype.c
@@
-1631,6
+1631,7
@@
TextIntCreateFontIndirect(CONST LPLOGFONTW lf, HFONT *NewFont)
PLFONT plfont;
LOGFONTW *plf;
PLFONT plfont;
LOGFONTW *plf;
+ ASSERT(lf);
plfont = LFONT_AllocFontWithHandle();
if (!plfont)
{
plfont = LFONT_AllocFontWithHandle();
if (!plfont)
{