Mercurial > pidgin.yaz
view plugins/zephyr/init_et.c @ 1755:300dcb2aa120
[gaim-migrate @ 1765]
Fixed a funny typo.
The Conversation->Windows tab had two frames that were both labeled
IM Window
;-)
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Thu, 26 Apr 2001 22:45:02 +0000 |
parents | 1e0fa7e130d0 |
children |
line wrap: on
line source
/* * $Header$ * $Source$ * $Locker$ * * Copyright 1986, 1987, 1988 by MIT Information Systems and * the MIT Student Information Processing Board. * * For copyright info, see mit-sipb-copyright.h. */ #include <sysdep.h> #include "error_table.h" #include "mit-sipb-copyright.h" #ifndef lint static const char rcsid_init_et_c[] = "$Header$"; #endif struct foobar { struct et_list etl; struct error_table et; }; extern struct et_list * _et_list; int init_error_table(msgs, base, count) const char * const * msgs; int base; int count; { struct foobar * new_et; if (!base || !count || !msgs) return 0; new_et = (struct foobar *) malloc(sizeof(struct foobar)); if (!new_et) return errno; /* oops */ new_et->etl.table = &new_et->et; new_et->et.msgs = msgs; new_et->et.base = base; new_et->et.n_msgs= count; new_et->etl.next = _et_list; _et_list = &new_et->etl; return 0; }