diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-07-14 10:57:07 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-07-14 10:57:07 +0000 |
commit | 8365d46eb71035a28a4f58713588aea7b9f70b38 (patch) | |
tree | a612650d49a16a3faf15b6eb4b8c971faa2c3ce4 /riscos | |
parent | 86232d72a6709243136496770aade7c4d47ef28a (diff) | |
download | netsurf-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')
-rw-r--r-- | riscos/plotters.c | 4 | ||||
-rw-r--r-- | riscos/save_draw.c | 4 |
2 files changed, 4 insertions, 4 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) { diff --git a/riscos/save_draw.c b/riscos/save_draw.c index d832d199d..6dbd50ddb 100644 --- a/riscos/save_draw.c +++ b/riscos/save_draw.c @@ -326,8 +326,8 @@ bool ro_save_draw_path(const float *p, unsigned int n, colour fill, } pencil_code code = pencil_path(ro_save_draw_diagram, path, i + 1, - fill == TRANSPARENT ? pencil_TRANSPARENT : fill << 8, - c == TRANSPARENT ? pencil_TRANSPARENT : c << 8, + fill == NS_TRANSPARENT ? pencil_TRANSPARENT : fill << 8, + c == NS_TRANSPARENT ? pencil_TRANSPARENT : c << 8, width, pencil_JOIN_MITRED, pencil_CAP_BUTT, pencil_CAP_BUTT, 0, 0, false, pencil_SOLID); |