diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
commit | bd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch) | |
tree | b693ad7ec135bd8031458611b5ec485abd866463 /filter | |
parent | 5f83c587b2da0b9578117796253b7726e98748cc (diff) | |
download | gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-filter-input.c | 5 | ||||
-rw-r--r-- | filter/e-filter-part.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/filter/e-filter-input.c b/filter/e-filter-input.c index f8315d99e3..79d9fffb73 100644 --- a/filter/e-filter-input.c +++ b/filter/e-filter-input.c @@ -84,7 +84,10 @@ filter_input_validate (EFilterElement *element, pattern = input->values->data; - if ((regerr = regcomp (®expat, pattern, REG_EXTENDED | REG_NEWLINE | REG_ICASE))) { + regerr = regcomp ( + ®expat, pattern, + REG_EXTENDED | REG_NEWLINE | REG_ICASE); + if (regerr != 0) { if (alert) { gsize reglen; gchar *regmsg; diff --git a/filter/e-filter-part.c b/filter/e-filter-part.c index a999b8adb6..e86d2fabbc 100644 --- a/filter/e-filter-part.c +++ b/filter/e-filter-part.c @@ -190,7 +190,8 @@ e_filter_part_xml_create (EFilterPart *part, } else { g_warning ("Invalid xml format, missing/unknown input type"); } - } else if (!strcmp ((gchar *)n->name, "title") || !strcmp ((gchar *)n->name, "_title")) { + } else if (!strcmp ((gchar *)n->name, "title") || + !strcmp ((gchar *)n->name, "_title")) { if (!part->title) { str = (gchar *)xmlNodeGetContent (n); part->title = g_strdup (str); |