Mercurial > pidgin
annotate src/protocols/zephyr/error_table.h @ 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 | 424a40f12a6c |
| children | fc464a0abccc |
| rev | line source |
|---|---|
| 2086 | 1 /* |
| 2 * Copyright 1988 by the Student Information Processing Board of the | |
| 3 * Massachusetts Institute of Technology. | |
| 4 * | |
| 5 * For copyright info, see mit-sipb-copyright.h. | |
| 6 */ | |
| 7 | |
| 8 #ifndef _ET_H | |
| 9 struct error_table { | |
| 10 char const * const * msgs; | |
| 11 long base; | |
| 12 int n_msgs; | |
| 13 }; | |
| 14 struct et_list { | |
| 15 struct et_list *next; | |
| 16 const struct error_table *table; | |
| 17 }; | |
| 18 extern struct et_list * _et_list; | |
| 19 | |
| 20 #define ERRCODE_RANGE 8 /* # of bits to shift table number */ | |
| 21 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ | |
| 22 | |
| 23 extern const char *error_table_name(); | |
| 24 #define _ET_H | |
| 25 #endif |
