changeset 12823:292a846fdeea

[gaim-migrate @ 15171] It seems like saved status sorting should be UTF-8 aware. I haven't tested this, but it seems right and compiles. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 11 Jan 2006 05:45:48 +0000
parents cecc9706c11f
children 7b8e885c1be3
files src/gtksavedstatuses.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksavedstatuses.c	Wed Jan 11 05:38:49 2006 +0000
+++ b/src/gtksavedstatuses.c	Wed Jan 11 05:45:48 2006 +0000
@@ -1505,7 +1505,7 @@
 {
 	const GaimSavedStatus *saved_status_a = a;
 	const GaimSavedStatus *saved_status_b = b;
-	return strcmp(gaim_savedstatus_get_title(saved_status_a),
+	return g_utf8_collate(gaim_savedstatus_get_title(saved_status_a),
 				  gaim_savedstatus_get_title(saved_status_b));
 }