summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/draw.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-02-12 20:01:05 +0000
committerVincent Sanders <vince@kyllikki.org>2017-02-12 20:01:05 +0000
commit1666944c7e5c7a300ad0658b9654464ff2c11495 (patch)
tree8b40a9c13e28cc67135cb75ded1f3477390039cc /frontends/riscos/content-handlers/draw.c
parent703fd10400f83bd136acf46162fe109f87d5e538 (diff)
parent513366a7a22dfeafc6a79814701ba62210ad5040 (diff)
downloadnetsurf-1666944c7e5c7a300ad0658b9654464ff2c11495.tar.gz
netsurf-1666944c7e5c7a300ad0658b9654464ff2c11495.tar.bz2
Merge branch 'vince/plotctx'
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)