diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-02-12 20:01:05 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-02-12 20:01:05 +0000 |
commit | 1666944c7e5c7a300ad0658b9654464ff2c11495 (patch) | |
tree | 8b40a9c13e28cc67135cb75ded1f3477390039cc /frontends/riscos/content-handlers/draw.c | |
parent | 703fd10400f83bd136acf46162fe109f87d5e538 (diff) | |
parent | 513366a7a22dfeafc6a79814701ba62210ad5040 (diff) | |
download | netsurf-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.c | 2 |
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) |