aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-06-12 03:38:33 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-06-12 03:38:33 +0800
commit67e26bcc8e9c00520c1314c39a69a9f5457b363e (patch)
tree28dbfdfe29e5092d3de8da5996fe32cd91013e1a
parentd120c67b62d3de62b293becb0d58bc9335df2d0a (diff)
downloadgsoc2013-evolution-67e26bcc8e9c00520c1314c39a69a9f5457b363e.tar.gz
gsoc2013-evolution-67e26bcc8e9c00520c1314c39a69a9f5457b363e.tar.zst
gsoc2013-evolution-67e26bcc8e9c00520c1314c39a69a9f5457b363e.zip
use g_utf8_strdown properly.
2003-06-11 Larry Ewing <lewing@ximian.com> * camel-text-index.c (text_index_normalise): use g_utf8_strdown properly. svn path=/trunk/; revision=21415
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-text-index.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 2668c971bb..43eab8d580 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-11 Larry Ewing <lewing@ximian.com>
+
+ * camel-text-index.c (text_index_normalise): use g_utf8_strdown properly.
+
2003-06-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (find_best_encoding): Add the
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;
}