From 4e9cc3c4eede8b8cb984cd21307a7b4bf85649e3 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 9 Nov 2006 16:31:52 +0000 Subject: [PATCH] * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed a stupid typo which created a variable-used-before-initialized bug --- ChangeLog | 5 +++++ src/pshinter/pshalgo.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fb06f6ac7..59be8dc9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-09 David Turner + + * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed + a stupid typo which created a variable-used-before-initialized bug + 2006-11-07 Zhe Su * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c index 2c29d9658..c3c972d84 100644 --- a/src/pshinter/pshalgo.c +++ b/src/pshinter/pshalgo.c @@ -1012,7 +1012,7 @@ in_x = end->org_u - start->org_u; in_y = end->org_v - start->org_v; - } while ( in_x == 0 && out_x == 0 ); + } while ( in_x == 0 && in_y == 0 ); /* extend the segment start whenever possible */ before = start;