From 18c937267758e460248cd25979705ab629a9df0e Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Wed, 16 Apr 2014 20:49:26 -0700 Subject: [PATCH] Fix runtime check error on VS2013 in freetype --- 3rdparty/freetype/freetype.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/freetype/freetype.h b/3rdparty/freetype/freetype.h index 5ffa0ffb..2c008959 100644 --- a/3rdparty/freetype/freetype.h +++ b/3rdparty/freetype/freetype.h @@ -25152,7 +25152,7 @@ FT_END_HEADER { FT_Error error; FT_Memory memory; - FT_Module module; + FT_Module module = NULL; FT_UInt nn; #define FREETYPE_VER_FIXED ( ( (FT_Long)FREETYPE_MAJOR << 16 ) | \ FREETYPE_MINOR ) @@ -107542,8 +107542,8 @@ FT_END_HEADER FT_Outline* outline = NULL; FT_BBox cbox; FT_Pos width, height, pitch; - FT_Bitmap* bitmap; - FT_Memory memory; + FT_Bitmap* bitmap = NULL; + FT_Memory memory = NULL; FT_Int hmul = mode == FT_RENDER_MODE_LCD; FT_Int vmul = mode == FT_RENDER_MODE_LCD_V; FT_Pos x_shift, y_shift, x_left, y_top;