From: Pierre Joye Date: Sat, 4 Nov 2006 14:22:23 +0000 (+0000) Subject: - ws X-Git-Tag: RELEASE_1_0_0RC1~1136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53341531176ef8792bf4752144a6bcbb243e6f1a;p=php - ws --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 43a45939af..79897145ca 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -1042,10 +1042,7 @@ void gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) gdImageSetPixel(im, x1,y1, color); } return; - } - - /* Horizontal */ - if (y1==y2) { + } else if (y1==y2) { /* Horizontal */ if (x2 < x1) { t = x2; x2 = x1;