summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/artworks.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/riscos/content-handlers/artworks.c')
-rw-r--r--frontends/riscos/content-handlers/artworks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/riscos/content-handlers/artworks.c b/frontends/riscos/content-handlers/artworks.c
index f70b10ac7..7a7d79cb7 100644
--- a/frontends/riscos/content-handlers/artworks.c
+++ b/frontends/riscos/content-handlers/artworks.c
@@ -317,7 +317,7 @@ bool artworks_redraw(struct content *c, struct content_redraw_data *data,
int clip_x1 = clip->x1;
int clip_y1 = clip->y1;
- if (ctx->plot->flush && !ctx->plot->flush())
+ if (ctx->plot->flush && (ctx->plot->flush(ctx) != NSERROR_OK))
return false;
/* pick up render addresses again in case they've changed