From 0a17e9b76db0ea9f488af92ef270f90e680b62e9 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 12 Dec 2012 18:44:12 +0000 Subject: Fix whitespace. Thanks to zeniko for the heads up. --- draw/draw_edge.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'draw/draw_edge.c') diff --git a/draw/draw_edge.c b/draw/draw_edge.c index 9d595cf4..637f9864 100644 --- a/draw/draw_edge.c +++ b/draw/draw_edge.c @@ -904,32 +904,32 @@ fz_scan_convert_sharp(fz_gel *gel, int eofill, fz_bbox clip, { int e = 0; int y = gel->edges[0].y; - int height; + int height; + + gel->alen = 0; - gel->alen = 0; - /* Skip any lines before the clip region */ - if (y < clip.y0) + if (y < clip.y0) { while (gel->alen > 0 || e < gel->len) { height = insert_active(gel, y, &e); y += height; - if (y >= clip.y0) + if (y >= clip.y0) { height -= y - clip.y0; y = clip.y0; break; } - } + } } - /* Now process as lines within the clip region */ + /* Now process as lines within the clip region */ while (gel->alen > 0 || e < gel->len) { height = insert_active(gel, y, &e); - if (gel->alen == 0) + if (gel->alen == 0) y += height; else { @@ -944,7 +944,7 @@ fz_scan_convert_sharp(fz_gel *gel, int eofill, fz_bbox clip, non_zero_winding_sharp(gel, y, clip, dst, color); y++; } - } + } if (y >= clip.y1) break; -- cgit v1.2.3