From 080b491db93380f4a82489054427628248ff8b3c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 19 Dec 2001 00:42:22 +0000 Subject: [PATCH] Hidden entry texts shouldn't have gone to command history.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2269 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/gui-readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 0cff16c3..c66a6a11 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -183,7 +183,7 @@ static void key_send_line(void) active_win->active); } else { if (redir->flags & ENTRY_REDIRECT_FLAG_HIDDEN) - history_window = NULL; + g_free_and_null(add_history); handle_entry_redirect(str); }