diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-16 23:25:56 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:09:00 +0800 |
commit | 777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1 (patch) | |
tree | dfab9ca8f30c7b1539f86dfe19b8bf761d6a899c /filter/e-rule-context.c | |
parent | 83675abbc2b3a3bc6421094a56651d021fc0cdcd (diff) | |
download | gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.gz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.bz2 gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.lz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.xz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.zst gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'filter/e-rule-context.c')
-rw-r--r-- | filter/e-rule-context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c index 712ecfa039..2f3daca6e7 100644 --- a/filter/e-rule-context.c +++ b/filter/e-rule-context.c @@ -280,7 +280,7 @@ rule_context_load (ERuleContext *context, /* now load actual rules */ if (userdoc) { root = xmlDocGetRootElement (userdoc); - set = root?root->children:NULL; + set = root ? root->children : NULL; while (set) { rule_map = g_hash_table_lookup (context->rule_set_map, set->name); if (rule_map) { @@ -373,7 +373,7 @@ rule_context_revert (ERuleContext *context, /* setup stuff we have now */ /* Note that we assume there is only 1 set of rules in a given rule context, - although other parts of the code dont assume this */ + * although other parts of the code dont assume this */ frule = NULL; while ((frule = e_rule_context_next_rule (context, frule, NULL))) { rest_data = g_hash_table_lookup (source_hash, frule->source); @@ -387,7 +387,7 @@ rule_context_revert (ERuleContext *context, /* make what we have, match what we load */ set = xmlDocGetRootElement (userdoc); - set = set?set->children:NULL; + set = set ? set->children : NULL; while (set) { rule_map = g_hash_table_lookup (context->rule_set_map, set->name); if (rule_map) { |