summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-10 09:24:19 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-10 09:24:19 +0000
commitd16e3161ad9185d36551fb283447fc6607c51fbf (patch)
tree29c9f73932547c8dd0717d683d6422c483b97a95
parented8f37dbefe4820988c21eae789972cc099aa613 (diff)
downloadnetsurf-d16e3161ad9185d36551fb283447fc6607c51fbf.tar.gz
netsurf-d16e3161ad9185d36551fb283447fc6607c51fbf.tar.bz2
Fix full Cairo build
svn path=/trunk/netsurf/; revision=10878
-rwxr-xr-xamiga/plotters.c4
1 files changed, 2 insertions, 2 deletions
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