mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Framebuffer: Fix bitmap plotter return value.
Caused local history to give up after the first bitmap plot.
This commit is contained in:
parent
4b9aaee6cd
commit
c06cfd9fae
@ -333,7 +333,9 @@ framebuffer_plot_bitmap(const struct redraw_context *ctx,
|
||||
loc.x1 = loc.x0 + width;
|
||||
loc.y1 = loc.y0 + height;
|
||||
|
||||
return nsfb_plot_copy(bm, NULL, nsfb, &loc);
|
||||
if (!nsfb_plot_copy(bm, NULL, nsfb, &loc)) {
|
||||
return NSERROR_INVALID;
|
||||
}
|
||||
}
|
||||
|
||||
nsfb_plot_get_clip(nsfb, &clipbox);
|
||||
|
Loading…
Reference in New Issue
Block a user