aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-09 00:39:35 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-09 00:39:35 +0800
commitdeb33e7a64e2a14748b77a635839636e77c3ad0d (patch)
treef454f52510579e2bd124108b3f340e0137c074f3
parent87eac1e1daf02e2fbaf52c455263cab5e30939af (diff)
downloadgsoc2013-evolution-deb33e7a64e2a14748b77a635839636e77c3ad0d.tar.gz
gsoc2013-evolution-deb33e7a64e2a14748b77a635839636e77c3ad0d.tar.zst
gsoc2013-evolution-deb33e7a64e2a14748b77a635839636e77c3ad0d.zip
Bug #210105 - Error assigning negative scores in filtering
-rw-r--r--filter/e-filter-int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/e-filter-int.c b/filter/e-filter-int.c
index 883c560795..be0a5f1ee5 100644
--- a/filter/e-filter-int.c
+++ b/filter/e-filter-int.c
@@ -168,7 +168,7 @@ filter_int_format_sexp (EFilterElement *element,
if (filter_int->val < 0)
/* See #364731 #457523 C6*/
- g_string_append_printf (out, "(- %d)", (filter_int->val * -1));
+ g_string_append_printf (out, "(- 0 %d)", (filter_int->val * -1));
else
g_string_append_printf (out, "%d", filter_int->val);
}