[gs-commits] rev 11762 - trunk/gs/base
robin at ghostscript.com
robin at ghostscript.com
Wed Oct 6 12:06:46 UTC 2010
Author: robin
Date: 2010-10-06 12:06:46 +0000 (Wed, 06 Oct 2010)
New Revision: 11762
Modified:
trunk/gs/base/gxiscale.c
Log:
Whitespace tweaks to gxiscale.c. The complexity in the file is more than
enough for my tiny brain without expecting it to cope with inconsistent
indentation too :)
Modified: trunk/gs/base/gxiscale.c
===================================================================
--- trunk/gs/base/gxiscale.c 2010-10-06 12:04:13 UTC (rev 11761)
+++ trunk/gs/base/gxiscale.c 2010-10-06 12:06:46 UTC (rev 11762)
@@ -673,7 +673,8 @@
LINE_ACCUM(color, bpp);
vd_pixel(int2fixed(x), int2fixed(ry), color);
x++, psrc += 3;
- } while (x < xe && psrc[-3] == psrc[0] &&
+ } while (x < xe &&
+ psrc[-3] == psrc[0] &&
psrc[-2] == psrc[1] &&
psrc[-1] == psrc[2]);
break;
@@ -681,8 +682,10 @@
do {
LINE_ACCUM(color, bpp);
x++, psrc += 4;
- } while (x < xe && psrc[-4] == psrc[0] &&
- psrc[-3] == psrc[1] && psrc[-2] == psrc[2] &&
+ } while (x < xe &&
+ psrc[-4] == psrc[0] &&
+ psrc[-3] == psrc[1] &&
+ psrc[-2] == psrc[2] &&
psrc[-1] == psrc[3]);
break;
default:
@@ -693,8 +696,8 @@
int rcode;
LINE_ACCUM_COPY(dev, out, bpp, xo, x, raster, ry);
- rcode = gx_fill_rectangle_device_rop(x, ry,
- 1, 1, &devc, dev, lop);
+ rcode = gx_fill_rectangle_device_rop(x, ry, 1, 1,
+ &devc, dev, lop);
if (rcode < 0)
return rcode;
LINE_ACCUM_SKIP(bpp);
More information about the gs-commits
mailing list