changeset 5516:dcfe83cdfd42

[gaim-migrate @ 5915] This fixes http://sourceforge.net/tracker/index.php?func=detail&aid=739709&group_id=235&atid=100235 ...which says that, when using a locale where "None" was i10ned to something other than "None," a strcmp would fail and result in infinite recursion when signing on. This eliminates that. I'd like to point out that I _think_ when the sorting methods are i10ned, and you have a method set, and you switch locales, your sorting method will get reset back to None. If anyone wants to verify and/or fix that, feel free. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 May 2003 19:31:09 +0000
parents 439a05a6b409
children e9b9fbf89c42
files src/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sun May 25 18:35:24 2003 +0000
+++ b/src/gtkblist.c	Sun May 25 19:31:09 2003 +0000
@@ -2122,7 +2122,7 @@
 		current_sort_method = l->data;
 		strcpy(sort_method, ((struct gaim_gtk_blist_sort_method*)l->data)->name);
 	} else if (!current_sort_method) {
-		gaim_gtk_blist_sort_method_set("None");
+		gaim_gtk_blist_sort_method_set(_("None"));
 		return;
 	}
 	save_prefs();