From 40016817aaa7916b369349dfc72691ba0d1c3f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 13 Sep 2004 17:17:17 +0000 Subject: [PATCH] Log error code when freetype fails to initialize svn path=/trunk/; revision=10844 --- reactos/subsys/win32k/objects/text.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/objects/text.c b/reactos/subsys/win32k/objects/text.c index 49346170f32..1359e339c3b 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.110 2004/08/24 17:29:00 navaraf Exp $ */ +/* $Id: text.c,v 1.111 2004/09/13 17:17:17 gvg Exp $ */ #include #include @@ -129,8 +129,10 @@ InitFontSupport(VOID) ExInitializeFastMutex(&FreeTypeLock); ulError = FT_Init_FreeType(&library); - if (ulError) + if (ulError) { + DPRINT1("FT_Init_FreeType failed with error code 0x%x\n", ulError); return FALSE; + } IntLoadSystemFonts();