aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-rule-context.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-16 23:25:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-09-04 19:34:32 +0800
commitfcbbdfbd18e15b4ee8322a0217cf03a689a5e033 (patch)
treee16cd2a2279558c6a2bfb6ca39fcbaac4c85ba59 /filter/e-rule-context.c
parentf78417c48861759d7b0c4535ecd3febe4638a7d3 (diff)
downloadgsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.gz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.bz2
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.lz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.xz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.zst
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'filter/e-rule-context.c')
-rw-r--r--filter/e-rule-context.c6
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) {