/AWAY reason tab completion shouldn't append space at the end.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2836 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-06-04 21:23:17 +00:00 committed by cras
commit 9092649c74

View file

@ -799,6 +799,8 @@ static void sig_complete_away(GList **list, WINDOW_REC *window,
g_return_if_fail(list != NULL);
g_return_if_fail(word != NULL);
*want_space = FALSE;
if (*word == '\0' && window->active_server != NULL) {
reason = SERVER(window->active_server)->away_reason;
if (reason != NULL) {