diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-07-28 22:42:33 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-07-28 22:42:33 +0000 |
commit | 86f4561e4ca34ce883657652eda084e738a29415 (patch) | |
tree | cdd0878fda29c97e799f2f2bd8a0d106338dacc3 /riscos | |
parent | 1f0e0d009aaba3ad8545b497ccb1912141e195a1 (diff) | |
download | netsurf-86f4561e4ca34ce883657652eda084e738a29415.tar.gz netsurf-86f4561e4ca34ce883657652eda084e738a29415.tar.bz2 |
ro_save_draw_rectangle(): draw_CLOSE_LINE doesn't need parameters. This potentionally fixes SF #2010390 & #1927130.
svn path=/trunk/netsurf/; revision=4782
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/save_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/save_draw.c b/riscos/save_draw.c index f00f36509..ed08fa6c9 100644 --- a/riscos/save_draw.c +++ b/riscos/save_draw.c @@ -1,6 +1,6 @@ /* * Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk> - * Copyright 2004 John Tytgat <John.Tytgat@aaug.net> + * Copyright 2004-2008 John Tytgat <John.Tytgat@aaug.net> * Copyright 2007 James Bursa <bursa@users.sourceforge.net> * * This file is part of NetSurf, http://www.netsurf-browser.org/ @@ -163,7 +163,7 @@ bool ro_save_draw_rectangle(int x0, int y0, int width, int height, draw_LINE_TO, (x0 + width) * 2, -y0 * 2 - 1, draw_LINE_TO, (x0 + width) * 2, -(y0 + height) * 2 - 1, draw_LINE_TO, x0 * 2, -(y0 + height) * 2 - 1, - draw_CLOSE_LINE, x0 * 2, -y0 * 2 - 1, + draw_CLOSE_LINE, draw_END_PATH }; code = pencil_path(ro_save_draw_diagram, path, |