1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Remove silly macro.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4770 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-15 13:02:55 +00:00 committed by exg
parent 074b121858
commit 81ef5de591

View File

@ -33,11 +33,6 @@
# include <langinfo.h>
#endif
#define SLIST_FOREACH(var, head) \
for ((var) = (head); \
(var); \
(var) = g_slist_next((var)))
char *recode_fallback = NULL;
char *recode_out_default = NULL;
char *term_charset = NULL;
@ -79,8 +74,7 @@ static void fe_recode_cmd (const char *data, SERVER_REC *server, WI_ITEM_REC *wi
}
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_RECODE_HEADER);
SLIST_FOREACH(tmp, sorted)
{
for (tmp = sorted; tmp != NULL; tmp = tmp->next) {
CONFIG_NODE *node = tmp->data;
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_RECODE_LINE, node->key, node->value);
}