From 86f4561e4ca34ce883657652eda084e738a29415 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Mon, 28 Jul 2008 22:42:33 +0000 Subject: ro_save_draw_rectangle(): draw_CLOSE_LINE doesn't need parameters. This potentionally fixes SF #2010390 & #1927130. svn path=/trunk/netsurf/; revision=4782 --- riscos/save_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/save_draw.c') 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 - * Copyright 2004 John Tytgat + * Copyright 2004-2008 John Tytgat * Copyright 2007 James Bursa * * 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, -- cgit v1.2.3