From aace2f7781f150505e0f161f237f4e1bc71cbe4a Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 20 Oct 2011 05:44:17 +0000 Subject: [PATCH] --- coders/ttf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coders/ttf.c b/coders/ttf.c index a3b5ba6f4..8729bb80f 100644 --- a/coders/ttf.c +++ b/coders/ttf.c @@ -290,11 +290,11 @@ static Image *ReadTTFImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) FormatLocaleString(buffer,MaxTextExtent," text 50,%.20g '%s'\n", (double) y, Phrase); ConcatenateString(&draw_info->primitive,buffer); - if (i <= 8) + if (i < 8) i++; - else if (i <= 12) + else if (i < 12) i+=2; - else if (i <= 24) + else if (i < 24) i+=6; else i+=12; -- 2.40.0