From 8365d46eb71035a28a4f58713588aea7b9f70b38 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jul 2009 10:57:07 +0000 Subject: Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB. svn path=/trunk/netsurf/; revision=8513 --- riscos/plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/plotters.c') diff --git a/riscos/plotters.c b/riscos/plotters.c index 23ea2783f..38971d57c 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -311,7 +311,7 @@ bool ro_plot_path(const float *p, unsigned int n, colour fill, float width, trfm.entries[2][0] = (ro_plot_origin_x + transform[4] * 2) * 256; trfm.entries[2][1] = (ro_plot_origin_y - transform[5] * 2) * 256; - if (fill != TRANSPARENT) { + if (fill != NS_TRANSPARENT) { error = xcolourtrans_set_gcol(fill << 8, 0, os_ACTION_OVERWRITE, 0, 0); if (error) { @@ -328,7 +328,7 @@ bool ro_plot_path(const float *p, unsigned int n, colour fill, float width, } } - if (c != TRANSPARENT) { + if (c != NS_TRANSPARENT) { error = xcolourtrans_set_gcol(c << 8, 0, os_ACTION_OVERWRITE, 0, 0); if (error) { -- cgit v1.2.3