diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-15 13:02:55 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-15 13:02:55 +0000 |
commit | 81ef5de59142d92fa9d43a6240b5e8078d393226 (patch) | |
tree | 2c891d178ffd43569c88b3f187dc30b1ea9096b0 /src/fe-common | |
parent | 074b1218588fa924bd7bb2e11f1a3f7e0dd016e3 (diff) | |
download | irssi-81ef5de59142d92fa9d43a6240b5e8078d393226.zip |
Remove silly macro.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4770 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-recode.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/fe-common/core/fe-recode.c b/src/fe-common/core/fe-recode.c index 58bd7ad5..44d7dfd4 100644 --- a/src/fe-common/core/fe-recode.c +++ b/src/fe-common/core/fe-recode.c @@ -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); } |