aboutsummaryrefslogtreecommitdiff
path: root/libsylph/filter.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-16 05:44:43 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-16 05:44:43 +0000
commit48768d09836cd11fd33cf29c0c8024dfdf4b91db (patch)
treec3faddb58dcccb7cdfd087ee6ca8c9c8753e4356 /libsylph/filter.c
parentc0b564436840625597ce06fc2931cffddb2dd4f3 (diff)
fixed a bug that the value of <account-id> tag was not parsed correctly.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2620 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/filter.c')
-rw-r--r--libsylph/filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsylph/filter.c b/libsylph/filter.c
index beff85bf..6db89b20 100644
--- a/libsylph/filter.c
+++ b/libsylph/filter.c
@@ -1399,7 +1399,8 @@ FilterCond *filter_cond_new(FilterCondType type,
cond->header_name = NULL;
cond->str_value = (value && *value) ? g_strdup(value) : NULL;
- if (type == FLT_COND_SIZE_GREATER || type == FLT_COND_AGE_GREATER)
+ if (type == FLT_COND_SIZE_GREATER || type == FLT_COND_AGE_GREATER ||
+ type == FLT_COND_ACCOUNT)
cond->int_value = atoi(value);
else
cond->int_value = 0;