diff options
author | Felix Riemann <friemann@gnome.org> | 2012-03-23 22:13:53 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2012-03-26 14:25:11 +0200 |
commit | 2b73445c2bd2a9d3121d71a36f7248e8986117a7 (patch) | |
tree | c5850098e7cce70db5a118ab3e357a950cdca93b | |
parent | 286e3f084b2abc5a6b27ad1c9c0d9c3e040c50de (diff) | |
download | librsvg-2b73445c2bd2a9d3121d71a36f7248e8986117a7.tar.gz |
Add some extra parentheses to fix GCC warnings
These can occur when using the -Wparentheses parameter.
Bug #672725.
-rw-r--r-- | rsvg-css.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -399,7 +399,7 @@ rsvg_css_parse_opacity (const char *str) opacity = g_ascii_strtod (str, &end_ptr); - if ((opacity == -HUGE_VAL || opacity == HUGE_VAL) && (ERANGE == errno) || + if (((opacity == -HUGE_VAL || opacity == HUGE_VAL) && (ERANGE == errno)) || *end_ptr != '\0') opacity = 1.; |