aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-input.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /filter/e-filter-input.c
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.bz2
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.lz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.xz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'filter/e-filter-input.c')
-rw-r--r--filter/e-filter-input.c5
1 files changed, 4 insertions, 1 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 (&regexpat, pattern, REG_EXTENDED | REG_NEWLINE | REG_ICASE))) {
+ regerr = regcomp (
+ &regexpat, pattern,
+ REG_EXTENDED | REG_NEWLINE | REG_ICASE);
+ if (regerr != 0) {
if (alert) {
gsize reglen;
gchar *regmsg;