aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-score.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 175c9a7ace..01b487b808 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-10 <NotZed@Ximian.com>
+
+ * filter-score.c (format_sexp): Encode the score as an integer
+ string, not as a string of integers. #5098.
+
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* filter-datespec.c (button_clicked): Allow the dialog's title to
diff --git a/filter/filter-score.c b/filter/filter-score.c
index cd954e134e..80c7e6ed94 100644
--- a/filter/filter-score.c
+++ b/filter/filter-score.c
@@ -228,9 +228,6 @@ static void
format_sexp (FilterElement *fe, GString *out)
{
FilterScore *fs = (FilterScore *)fe;
- char *score;
- score = g_strdup_printf ("%d", fs->score);
- e_sexp_encode_string (out, score);
- g_free (score);
+ g_string_sprintfa(out, "%d ", fs->score);
}