diff options
author | 0 <NotZed@Ximian.com> | 2001-09-11 10:20:18 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-11 10:20:18 +0800 |
commit | fbd6d6907cb7f30793da9e37d818aabeda021273 (patch) | |
tree | 36913aa2999fdee24832fbaef0a86bed8a624d69 | |
parent | 6b9b64291760421d2ce56b4c2d3233975b298b53 (diff) | |
download | gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar.gz gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar.bz2 gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar.lz gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar.xz gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.tar.zst gsoc2013-evolution-fbd6d6907cb7f30793da9e37d818aabeda021273.zip |
Encode the score as an integer string, not as a string of integers. #5098.
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.
svn path=/trunk/; revision=12761
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-score.c | 5 |
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); } |