netsurf: branch master updated. release/3.0-154-g92d6c14

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Wed May 29 11:40:57 BST 2013


Gitweb links:

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

The branch, master has been updated
       via  92d6c14c8dfd7b4978deca602d51d3afbbfdcfe7 (commit)
      from  44badddbdfabac0b4c5ca8737f4152f5aca25b89 (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=92d6c14c8dfd7b4978deca602d51d3afbbfdcfe7
commit 92d6c14c8dfd7b4978deca602d51d3afbbfdcfe7
Author: Vincent Sanders <vince at netsurf-browser.org>
Commit: Vincent Sanders <vince at netsurf-browser.org>

    remove ambiguity in subtraction and masking

diff --git a/desktop/system_colour.c b/desktop/system_colour.c
index 0944407..7b4fded 100644
--- a/desktop/system_colour.c
+++ b/desktop/system_colour.c
@@ -82,7 +82,7 @@ colour gui_system_colour_char(const char *name)
 	return ret;
 }
 
-#define ns_color_to_nscss(c) (((0xff - ((c) >> 24) & 0xff) << 24) | ((c) & 0xFF00) | (((c) >> 16) & 0xFF) | (((c) & 0xFF) << 16))
+#define ns_color_to_nscss(c) (((0xff - (((c) >> 24) & 0xff)) << 24) | ((c) & 0xFF00) | (((c) >> 16) & 0xFF) | (((c) & 0xFF) << 16))
 
 css_error gui_system_colour(void *pw, lwc_string *name, css_color *colour)
 {


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

Summary of changes:
 desktop/system_colour.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/system_colour.c b/desktop/system_colour.c
index 0944407..7b4fded 100644
--- a/desktop/system_colour.c
+++ b/desktop/system_colour.c
@@ -82,7 +82,7 @@ colour gui_system_colour_char(const char *name)
 	return ret;
 }
 
-#define ns_color_to_nscss(c) (((0xff - ((c) >> 24) & 0xff) << 24) | ((c) & 0xFF00) | (((c) >> 16) & 0xFF) | (((c) & 0xFF) << 16))
+#define ns_color_to_nscss(c) (((0xff - (((c) >> 24) & 0xff)) << 24) | ((c) & 0xFF00) | (((c) >> 16) & 0xFF) | (((c) & 0xFF) << 16))
 
 css_error gui_system_colour(void *pw, lwc_string *name, css_color *colour)
 {


-- 
NetSurf Browser



More information about the netsurf-commits mailing list