summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/riscos/content-handlers/draw.c')
-rw-r--r--frontends/riscos/content-handlers/draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/riscos/content-handlers/draw.c b/frontends/riscos/content-handlers/draw.c
index 9dff75736..0c84de866 100644
--- a/frontends/riscos/content-handlers/draw.c
+++ b/frontends/riscos/content-handlers/draw.c
@@ -184,7 +184,7 @@ bool draw_redraw(struct content *c, struct content_redraw_data *data,
const void *src_data;
os_error *error;
- if (ctx->plot->flush && !ctx->plot->flush())
+ if (ctx->plot->flush && (ctx->plot->flush(ctx) != NSERROR_OK))
return false;
if (!c->width || !c->height)