aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-10-21 23:56:09 +0800
committerChris Toshok <toshok@src.gnome.org>2002-10-21 23:56:09 +0800
commit14432d071634e28570059c0921fa301e3937a061 (patch)
tree05cf343c7a6ea93ca9bf913c700e1fc50bd0b314
parent0d7d98834f01d1e9f14f77109c36aa185c2c6d69 (diff)
downloadgsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar.gz
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar.bz2
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar.lz
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar.xz
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.tar.zst
gsoc2013-evolution-14432d071634e28570059c0921fa301e3937a061.zip
[ Fixes evolution bug #26355 ] use g_utf8_collate here instead of strcmp.
2002-10-20 Chris Toshok <toshok@ximian.com> [ Fixes evolution bug #26355 ] * gal/util/e-util.c (g_str_compare): use g_utf8_collate here instead of strcmp. * gal/e-text/Makefile.am (e_completion_test_LDADD): reorder so that util comes before unicode. svn path=/trunk/; revision=18400
-rw-r--r--e-util/e-util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index c6862ab8c5..87a320597b 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -24,6 +24,7 @@
#include <config.h>
#include "e-util.h"
+#include <gal/widgets/e-unicode.h>
#include <glib.h>
#include <gtk/gtkobject.h>
#include <errno.h>
@@ -53,8 +54,8 @@ g_str_compare(const void *x, const void *y)
else
return x ? -1 : 1;
}
-
- return strcmp(x, y);
+
+ return g_utf8_collate (x, y);
}
int