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

With /SET window_auto_change ON, irssi might have crashed if input entry was

not visible at that time.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2085 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-19 15:59:55 +00:00 committed by cras
parent d5f22075c7
commit d56ed85d91

View File

@ -501,6 +501,9 @@ static void key_sig_stop(void)
static void sig_window_auto_changed(void) static void sig_window_auto_changed(void)
{ {
if (active_entry == NULL)
return;
command_history_next(active_win, gui_entry_get_text(active_entry)); command_history_next(active_win, gui_entry_get_text(active_entry));
gui_entry_set_text(active_entry, ""); gui_entry_set_text(active_entry, "");
} }