Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9

The branch, master has been updated
       via  c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9 (commit)
      from  4b9aaee6cdfe9d38683db75ca0de52f45045596a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9
commit c06cfd9fae6b0cbc82babf64fe2f6300e6cae1f9
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Framebuffer: Fix bitmap plotter return value.
    
    Caused local history to give up after the first bitmap plot.

diff --git a/frontends/framebuffer/framebuffer.c 
b/frontends/framebuffer/framebuffer.c
index 649862a..e1301ce 100644
--- a/frontends/framebuffer/framebuffer.c
+++ b/frontends/framebuffer/framebuffer.c
@@ -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);


-----------------------------------------------------------------------

Summary of changes:
 frontends/framebuffer/framebuffer.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/frontends/framebuffer/framebuffer.c 
b/frontends/framebuffer/framebuffer.c
index 649862a..e1301ce 100644
--- a/frontends/framebuffer/framebuffer.c
+++ b/frontends/framebuffer/framebuffer.c
@@ -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);


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to