diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-12-12 18:44:12 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-12-12 19:25:33 +0000 |
commit | 0a17e9b76db0ea9f488af92ef270f90e680b62e9 (patch) | |
tree | 2b2ebec189075515bf423c0da9ba407a3a52b70f /draw/draw_edge.c | |
parent | 0236c79d8db96ce4598742b0211f9aa58269f819 (diff) | |
download | mupdf-0a17e9b76db0ea9f488af92ef270f90e680b62e9.tar.xz |
Fix whitespace.
Thanks to zeniko for the heads up.
Diffstat (limited to 'draw/draw_edge.c')
-rw-r--r-- | draw/draw_edge.c | 18 |
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; |