diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-19 12:46:15 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-19 12:46:15 +0000 |
commit | 0f865f87b9d5cb3a347825bf6c23f713be50d8c9 (patch) | |
tree | 82aa60ce7134e54c32f3e36a4e3a594ace752718 /src/fe-text | |
parent | 1599a51b13e059e68319588f55f641b3d3ee9433 (diff) | |
download | irssi-0f865f87b9d5cb3a347825bf6c23f713be50d8c9.zip |
Removed GLib error when doing /RELOAD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2076 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-readline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index e0820b30..abf8f260 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -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); } |