Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 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 | 5b5aa701d46b |
children | 4f41c4aa9913 |
comparison
equal
deleted
inserted
replaced
5515:439a05a6b409 | 5516:dcfe83cdfd42 |
---|---|
2120 | 2120 |
2121 if (l) { | 2121 if (l) { |
2122 current_sort_method = l->data; | 2122 current_sort_method = l->data; |
2123 strcpy(sort_method, ((struct gaim_gtk_blist_sort_method*)l->data)->name); | 2123 strcpy(sort_method, ((struct gaim_gtk_blist_sort_method*)l->data)->name); |
2124 } else if (!current_sort_method) { | 2124 } else if (!current_sort_method) { |
2125 gaim_gtk_blist_sort_method_set("None"); | 2125 gaim_gtk_blist_sort_method_set(_("None")); |
2126 return; | 2126 return; |
2127 } | 2127 } |
2128 save_prefs(); | 2128 save_prefs(); |
2129 redo_buddy_list(gaim_get_blist(), TRUE); | 2129 redo_buddy_list(gaim_get_blist(), TRUE); |
2130 | 2130 |