summaryrefslogtreecommitdiffstats
path: root/src/libcroco
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-22 12:25:02 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-22 12:25:02 +0000
commit9ab9abf19bfa43ade88b449cd7631fbc5854caa3 (patch)
tree784c1561c664c0660d7f1879d3e31ed6d98074de /src/libcroco
parenttool/node.cpp : don't rely on g_error terminating the program, allow more gra... (diff)
downloadinkscape-9ab9abf19bfa43ade88b449cd7631fbc5854caa3.tar.gz
inkscape-9ab9abf19bfa43ade88b449cd7631fbc5854caa3.zip
libcroco: don't write double parenthesis unnecessarily (interferes with the very useful clang parenthesis/assignment warning mechanism)
(bzr r13184)
Diffstat (limited to 'src/libcroco')
-rw-r--r--src/libcroco/cr-parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcroco/cr-parser.c b/src/libcroco/cr-parser.c
index f14f8a015..69b521496 100644
--- a/src/libcroco/cr-parser.c
+++ b/src/libcroco/cr-parser.c
@@ -2430,14 +2430,14 @@ cr_parser_parse_stylesheet (CRParser * a_this)
import_string,
NULL, &location) ;
- if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
+ if (PRIVATE (a_this)->sac_handler->resolve_import == TRUE) {
/*
*TODO: resolve the
*import rule.
*/
}
- if ((PRIVATE (a_this)->sac_handler->import_style_result)) {
+ if (PRIVATE (a_this)->sac_handler->import_style_result) {
PRIVATE (a_this)->sac_handler->import_style_result
(PRIVATE (a_this)->sac_handler,
media_list, import_string,