aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder-search.c')
-rw-r--r--camel/camel-folder-search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index 1c68f369ee..95b2f3d636 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -27,6 +27,7 @@
#include <string.h>
#include <glib.h>
+#include <e-util/e-unicode.h>
#include "camel-folder-search.h"
#include "string-utils.h"
@@ -406,7 +407,7 @@ search_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, C
/* performs an OR of all words */
for (i=1;i<argc && !truth;i++) {
if (argv[i]->type == ESEXP_RES_STRING
- && e_strstrcase (header, argv[i]->value.string)) {
+ && e_utf8_strstrcase (header, argv[i]->value.string)) {
r(printf("%s got a match with %s of %s\n", search->current->uid, header, argv[i]->value.string));
truth = TRUE;
break;