diff options
author | Valentin Batz <senneth@irssi.org> | 2004-09-15 12:11:43 +0000 |
---|---|---|
committer | senneth <senneth@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-09-15 12:11:43 +0000 |
commit | 8ea717b67609a7ddaa6481e49fc638a4b40e84e8 (patch) | |
tree | 10e28c5a7f6ade72b86ad7fd8c680320ecafa36b /src/fe-text | |
parent | 55bcc420a713d5bfac3813f7bc002de0b0c13538 (diff) | |
download | irssi-8ea717b67609a7ddaa6481e49fc638a4b40e84e8.zip |
Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, fixed bug 106
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/Makefile.am | 2 | ||||
-rw-r--r-- | src/fe-text/statusbar.c | 9 | ||||
-rw-r--r-- | src/fe-text/term.c | 1 |
3 files changed, 1 insertions, 11 deletions
diff --git a/src/fe-text/Makefile.am b/src/fe-text/Makefile.am index 68bf7169..39d7a3a3 100644 --- a/src/fe-text/Makefile.am +++ b/src/fe-text/Makefile.am @@ -64,7 +64,6 @@ irssi_SOURCES = \ textbuffer-commands.c \ textbuffer-reformat.c \ textbuffer-view.c \ - utf8.c \ irssi.c \ module-formats.c @@ -81,7 +80,6 @@ noinst_HEADERS = \ textbuffer.h \ textbuffer-view.h \ textbuffer-reformat.h \ - utf8.h \ module.h \ module-formats.h diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index 0de19e00..5eba9557 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -21,7 +21,6 @@ #include "module.h" #include "signals.h" #include "expandos.h" -#include "recode.h" #include "special-vars.h" #include "themes.h" @@ -687,8 +686,6 @@ void statusbar_item_default_handler(SBAR_ITEM_REC *item, int get_size_only, SERVER_REC *server; WI_ITEM_REC *wiitem; char *tmpstr, *tmpstr2; - const char *target; - char *recoded; int len; if (str == NULL) @@ -727,11 +724,7 @@ void statusbar_item_default_handler(SBAR_ITEM_REC *item, int get_size_only, tmpstr2 = reverse_controls(tmpstr); g_free(tmpstr); - target = wiitem ? window_item_get_target(wiitem) : NULL; - recoded = recode_in(tmpstr2, target); - g_free(tmpstr2); - - tmpstr = recoded; + tmpstr = tmpstr2; if (get_size_only) { item->min_size = item->max_size = format_get_length(tmpstr); } else { diff --git a/src/fe-text/term.c b/src/fe-text/term.c index 5e62ce5d..59c3fe4d 100644 --- a/src/fe-text/term.c +++ b/src/fe-text/term.c @@ -152,7 +152,6 @@ void term_common_init(void) settings_add_bool("lookandfeel", "term_force_colors", FALSE); settings_add_bool("lookandfeel", "term_auto_detach", FALSE); settings_add_bool("lookandfeel", "mirc_blink_fix", FALSE); - settings_add_str("lookandfeel", "term_charset", "ISO8859-1"); force_colors = FALSE; term_use_colors = term_has_colors() && settings_get_bool("colors"); |