From 9092649c74b8c7e760949fcb7b5f0cbea0938ba5 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 4 Jun 2002 21:23:17 +0000 Subject: [PATCH] /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 --- src/fe-common/core/chat-completion.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 1be0c422..d6c26ac4 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -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) {