From 14432d071634e28570059c0921fa301e3937a061 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 21 Oct 2002 15:56:09 +0000 Subject: [ Fixes evolution bug #26355 ] use g_utf8_collate here instead of strcmp. 2002-10-20 Chris Toshok [ 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 --- e-util/e-util.c | 5 +++-- 1 file 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 #include "e-util.h" +#include #include #include #include @@ -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 -- cgit