Gitweb links:

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

The branch, svenw/cocoa has been updated
       via  711dcabe7ca4bd3551b7e4af10b98715f746fb3f (commit)
      from  d4da61807200cdc5b9867c49c37feea22efa675d (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=711dcabe7ca4bd3551b7e4af10b98715f746fb3f
commit 711dcabe7ca4bd3551b7e4af10b98715f746fb3f
Author: Sven Weidauer <[email protected]>
Commit: Sven Weidauer <[email protected]>

    Check the return value for NSERROR_OK when plotting bitmaps. Fixes display 
of images.

diff --git a/frontends/cocoa/apple_image.m b/frontends/cocoa/apple_image.m
index 89a7609..cee9c27 100644
--- a/frontends/cocoa/apple_image.m
+++ b/frontends/cocoa/apple_image.m
@@ -199,7 +199,7 @@ static bool apple_image_redraw(struct content *c, struct 
content_redraw_data *da
         flags |= BITMAPF_REPEAT_Y;
 
     return ctx->plot->bitmap(ctx, ai_c->bitmap, data->x, data->y, data->width, 
data->height,
-        data->background_colour, flags);
+        data->background_colour, flags) == NSERROR_OK;
 }
 
 static const content_handler apple_image_content_handler = {


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

Summary of changes:
 frontends/cocoa/apple_image.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontends/cocoa/apple_image.m b/frontends/cocoa/apple_image.m
index 89a7609..cee9c27 100644
--- a/frontends/cocoa/apple_image.m
+++ b/frontends/cocoa/apple_image.m
@@ -199,7 +199,7 @@ static bool apple_image_redraw(struct content *c, struct 
content_redraw_data *da
         flags |= BITMAPF_REPEAT_Y;
 
     return ctx->plot->bitmap(ctx, ai_c->bitmap, data->x, data->y, data->width, 
data->height,
-        data->background_colour, flags);
+        data->background_colour, flags) == NSERROR_OK;
 }
 
 static const content_handler apple_image_content_handler = {


-- 
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