summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-12-12 18:44:12 +0000
committerRobin Watts <robin.watts@artifex.com>2012-12-12 19:25:33 +0000
commit0a17e9b76db0ea9f488af92ef270f90e680b62e9 (patch)
tree2b2ebec189075515bf423c0da9ba407a3a52b70f /draw
parent0236c79d8db96ce4598742b0211f9aa58269f819 (diff)
downloadmupdf-0a17e9b76db0ea9f488af92ef270f90e680b62e9.tar.xz
Fix whitespace.
Thanks to zeniko for the heads up.
Diffstat (limited to 'draw')
-rw-r--r--draw/draw_edge.c18
1 files changed, 9 insertions, 9 deletions
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;