summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/draw.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-02-08 09:22:42 +0000
committerVincent Sanders <vince@kyllikki.org>2017-02-11 13:57:07 +0000
commit3ea137ca3d9b0f996493bb33289d9ab3fc2881bc (patch)
tree120feb9d39ff590aa4c9432b7df5f1304bebe410 /frontends/riscos/content-handlers/draw.c
parent78d601eb76c796c038f42c2b9f10e4e591272271 (diff)
downloadnetsurf-3ea137ca3d9b0f996493bb33289d9ab3fc2881bc.tar.gz
netsurf-3ea137ca3d9b0f996493bb33289d9ab3fc2881bc.tar.bz2
update RISC OS plotters to new API
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)