From d16e3161ad9185d36551fb283447fc6607c51fbf Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 10 Oct 2010 09:24:19 +0000 Subject: Fix full Cairo build svn path=/trunk/netsurf/; revision=10878 --- amiga/plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga') diff --git a/amiga/plotters.c b/amiga/plotters.c index 5bd34d2bc..df4815592 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -344,9 +344,9 @@ bool ami_line(int x0, int y0, int x1, int y1, const plot_style_t *style) /* core expects horizontal and vertical lines to be on pixels, not * between pixels */ - cairo_move_to(current_cr, (x0 == x1) ? x0 + 0.5 : x0, + cairo_move_to(glob->cr, (x0 == x1) ? x0 + 0.5 : x0, (y0 == y1) ? y0 + 0.5 : y0); - cairo_line_to(current_cr, (x0 == x1) ? x1 + 0.5 : x1, + cairo_line_to(glob->cr, (x0 == x1) ? x1 + 0.5 : x1, (y0 == y1) ? y1 + 0.5 : y1); cairo_stroke(glob->cr); #endif -- cgit v1.2.3