From 67e26bcc8e9c00520c1314c39a69a9f5457b363e Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Wed, 11 Jun 2003 19:38:33 +0000 Subject: use g_utf8_strdown properly. 2003-06-11 Larry Ewing * camel-text-index.c (text_index_normalise): use g_utf8_strdown properly. svn path=/trunk/; revision=21415 --- camel/camel-text-index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-text-index.c') diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c index 57c9bcaeef..3682a6633e 100644 --- a/camel/camel-text-index.c +++ b/camel/camel-text-index.c @@ -829,8 +829,8 @@ text_index_normalise(CamelIndex *idx, const char *in, void *data) char *word; /* Sigh, this is really expensive */ - word = g_strdup(in); /*g_utf8_normalize(in, strlen(in), G_NORMALIZE_ALL);*/ - g_utf8_strdown(word, -1); + /*g_utf8_normalize(in, strlen(in), G_NORMALIZE_ALL);*/ + word = g_utf8_strdown(in, -1); return word; } -- cgit