Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/f3ac1fad69952a21b3609d110e6e81eb6a0a2c00
...commit
http://git.netsurf-browser.org/netsurf.git/commit/f3ac1fad69952a21b3609d110e6e81eb6a0a2c00
...tree
http://git.netsurf-browser.org/netsurf.git/tree/f3ac1fad69952a21b3609d110e6e81eb6a0a2c00
The branch, master has been updated
via f3ac1fad69952a21b3609d110e6e81eb6a0a2c00 (commit)
from 9318ee5d6a668a4c816cc82af9cd86ae826e30b7 (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=f3ac1fad69952a21b3609d110e6e81eb6a0a2c00
commit f3ac1fad69952a21b3609d110e6e81eb6a0a2c00
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
nssprite: content_broadcast_error fix
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/handlers/image/nssprite.c
b/content/handlers/image/nssprite.c
index 916bcbd..5f55495 100644
--- a/content/handlers/image/nssprite.c
+++ b/content/handlers/image/nssprite.c
@@ -117,12 +117,12 @@ static bool nssprite_convert(struct content *c)
nssprite->bitmap = guit->bitmap->create(sprite->width, sprite->height,
BITMAP_NEW);
if (!nssprite->bitmap) {
- content_broadcast_errorcode(c, NSERROR_NOMEM);
+ content_broadcast_error(c, NSERROR_NOMEM, NULL);
return false;
}
uint32_t* imagebuf = (uint32_t
*)guit->bitmap->get_buffer(nssprite->bitmap);
if (!imagebuf) {
- content_broadcast_errorcode(c, NSERROR_NOMEM);
+ content_broadcast_error(c, NSERROR_NOMEM, NULL);
return false;
}
unsigned char *spritebuf = (unsigned char *)sprite->image;
@@ -165,7 +165,7 @@ ro_sprite_error:
if (ctx != NULL) {
rosprite_destroy_mem_context(ctx);
}
- content_broadcast_errorcode(c, NSERROR_SPRITE_ERROR);
+ content_broadcast_error(c, NSERROR_SPRITE_ERROR, NULL);
return false;
}
-----------------------------------------------------------------------
Summary of changes:
content/handlers/image/nssprite.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/handlers/image/nssprite.c
b/content/handlers/image/nssprite.c
index 916bcbd..5f55495 100644
--- a/content/handlers/image/nssprite.c
+++ b/content/handlers/image/nssprite.c
@@ -117,12 +117,12 @@ static bool nssprite_convert(struct content *c)
nssprite->bitmap = guit->bitmap->create(sprite->width, sprite->height,
BITMAP_NEW);
if (!nssprite->bitmap) {
- content_broadcast_errorcode(c, NSERROR_NOMEM);
+ content_broadcast_error(c, NSERROR_NOMEM, NULL);
return false;
}
uint32_t* imagebuf = (uint32_t
*)guit->bitmap->get_buffer(nssprite->bitmap);
if (!imagebuf) {
- content_broadcast_errorcode(c, NSERROR_NOMEM);
+ content_broadcast_error(c, NSERROR_NOMEM, NULL);
return false;
}
unsigned char *spritebuf = (unsigned char *)sprite->image;
@@ -165,7 +165,7 @@ ro_sprite_error:
if (ctx != NULL) {
rosprite_destroy_mem_context(ctx);
}
- content_broadcast_errorcode(c, NSERROR_SPRITE_ERROR);
+ content_broadcast_error(c, NSERROR_SPRITE_ERROR, NULL);
return false;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org