Fix pdfium building issue on VS2010
authorJun Fang <jun_fang@foxitsoftware.com>
Fri, 18 Jul 2014 16:36:53 +0000 (09:36 -0700)
committerJun Fang <jun_fang@foxitsoftware.com>
Fri, 18 Jul 2014 16:36:53 +0000 (09:36 -0700)
BUG=pdfium_23
R=palmer@chromium.org

Review URL: https://codereview.chromium.org/399233002

core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c

index d06e161..1f00673 100644 (file)
     const T1_Decoder_Funcs  decoder_funcs = psaux->t1_decoder_funcs;
 
     FT_Matrix               font_matrix;
-    FT_Vector               font_offset;
-    font_offset.x           = 0;
-    font_offset.y           = 0;
+    FT_Vector               font_offset = {0, 0};
     FT_Data                 glyph_data;
     FT_Bool                 must_finish_decoder = FALSE;
 #ifdef FT_CONFIG_OPTION_INCREMENTAL