talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 4809976d9e97d0880b43dd6c25f3bbec8c7a9ccf
parent 2258ee9e24d5ae4db453d67fc344cdacddd286fb
Author: Colin Leroy <colin@colino.net>
Date:   Thu,  4 Oct 2012 10:00:29 +0000

2012-10-04 [colin]	3.8.1cvs84

	* src/imap.c
		Fix keywords with spaces

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/imap.c | 6+++++-
4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2012-10-04 [colin] 3.8.1cvs84 + + * src/imap.c + Fix keywords with spaces + 2012-10-04 [colin] 3.8.1cvs83 * src/advsearch.c diff --git a/PATCHSETS b/PATCHSETS @@ -4458,3 +4458,4 @@ ( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/advsearch.c; cvs diff -u -r 1.179.2.265 -r 1.179.2.266 src/imap.c; ) > 3.8.1cvs81.patchset ( cvs diff -u -r 1.49.2.152 -r 1.49.2.153 src/procmime.c; ) > 3.8.1cvs82.patchset ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/advsearch.c; ) > 3.8.1cvs83.patchset +( cvs diff -u -r 1.179.2.266 -r 1.179.2.267 src/imap.c; ) > 3.8.1cvs84.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=8 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=83 +EXTRA_VERSION=84 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/imap.c b/src/imap.c @@ -2087,7 +2087,11 @@ static IMAPSearchKey* search_make_key(MatcherProp* match, gboolean* is_all) break; case MATCHCRITERIA_TAG: - result = imap_search_new(IMAP_SEARCH_CRITERIA_TAG, NULL, match->expr, 0); + { + gchar *tmp = imap_utf8_to_modified_utf7(match->expr, TRUE); + result = imap_search_new(IMAP_SEARCH_CRITERIA_TAG, NULL, tmp, 0); + g_free(tmp); + } break; case MATCHCRITERIA_SUBJECT: