summaryrefslogtreecommitdiff
path: root/core/src/fxge
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2014-07-18 09:36:53 -0700
committerJun Fang <jun_fang@foxitsoftware.com>2014-07-18 09:36:53 -0700
commit6256a14279e46f1e893a32bf5102d698fe111cfa (patch)
tree5049b17f9d59d4a53f9fcd4652dc7e96d12acde8 /core/src/fxge
parent5eb9f7b4542cca34d4af96ea43be362446a4794f (diff)
downloadpdfium-6256a14279e46f1e893a32bf5102d698fe111cfa.tar.xz
Fix pdfium building issue on VS2010chromium/2098
BUG=pdfium_23 R=palmer@chromium.org Review URL: https://codereview.chromium.org/399233002
Diffstat (limited to 'core/src/fxge')
-rw-r--r--core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c
index d06e161db9..1f006735da 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c
@@ -281,9 +281,7 @@
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