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

Removed GLib error when doing /RELOAD.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2076 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-19 12:46:15 +00:00 committed by cras
parent 1599a51b13
commit 0f865f87b9

View File

@ -171,7 +171,8 @@ static void key_send_line(void)
g_free(add_history);
}
gui_entry_set_text(active_entry, "");
if (active_entry != NULL)
gui_entry_set_text(active_entry, "");
command_history_clear_pos(active_win);
}