]> granicus.if.org Git - php/commitdiff
White space fixes.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 11 Dec 2002 21:55:45 +0000 (21:55 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 11 Dec 2002 21:55:45 +0000 (21:55 +0000)
ext/gd/libgd/gd.c

index 7bfd05f14bf33e8c0484c69673a045942178f9ea..b82ab51382eedd1e3d93814440eff48162eaabd0 100644 (file)
@@ -1048,20 +1048,20 @@ inline static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color
 
 void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col)
 {
-/* keep them as 32bits */
-long x, y, inc;
+       /* keep them as 32bits */
+       long x, y, inc;
        long dx, dy,tmp;
 
        if (y1 < 0 && y2 < 0) {
                return;
        }
        if (y1 < 0) {
-       x1 += (y1 * (x1 - x2)) / (y2 - y1);
+               x1 += (y1 * (x1 - x2)) / (y2 - y1);
                y1 = 0;
        }
        if (y2 < 0) {
                x2 += (y2 * (x1 - x2)) / (y2 - y1);
-       y2 = 0;
+               y2 = 0;
        }
 
        /* bottom edge */