mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
Log error code when freetype fails to initialize
svn path=/trunk/; revision=10844
This commit is contained in:
parent
30c43d3c95
commit
40016817aa
1 changed files with 4 additions and 2 deletions
|
@ -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 <w32k.h>
|
||||
|
||||
#include <ft2build.h>
|
||||
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue