summaryrefslogtreecommitdiff
path: root/riscos/plotters.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-14 10:57:07 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-14 10:57:07 +0000
commit8365d46eb71035a28a4f58713588aea7b9f70b38 (patch)
treea612650d49a16a3faf15b6eb4b8c971faa2c3ce4 /riscos/plotters.c
parent86232d72a6709243136496770aade7c4d47ef28a (diff)
downloadnetsurf-8365d46eb71035a28a4f58713588aea7b9f70b38.tar.gz
netsurf-8365d46eb71035a28a4f58713588aea7b9f70b38.tar.bz2
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
Diffstat (limited to 'riscos/plotters.c')
-rw-r--r--riscos/plotters.c4
1 files changed, 2 insertions, 2 deletions
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) {