From 3a36ef7e6ea40d4763a74db8fef6da0e136edc33 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 27 May 2005 04:18:20 +0000 Subject: [PATCH] * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'. --- ChangeLog | 4 ++++ src/base/ftsynth.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 353fa3123..80b5e6c88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-05-27 Chia I Wu + + * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'. + 2005-05-26 Werner Lemberg * docs/GPL.txt: Update postal address of FSF. diff --git a/src/base/ftsynth.c b/src/base/ftsynth.c index cdc01f7a0..4548a02fe 100644 --- a/src/base/ftsynth.c +++ b/src/base/ftsynth.c @@ -75,8 +75,8 @@ { FT_Library library = slot->library; FT_Face face = FT_SLOT_FACE( slot ); + FT_Error error = FT_Err_Ok; FT_Pos xstr, ystr; - FT_Error error; /* some reasonable strength */ @@ -87,7 +87,7 @@ if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) { error = FT_Outline_Embolden( &slot->outline, xstr ); - xstr = xstr * 4 ; /* according to the documentation */ + xstr = xstr * 4; /* according to the documentation */ ystr = xstr; } else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )