diff options
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); |