summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-06-04 21:23:17 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-06-04 21:23:17 +0000
commit9092649c74b8c7e760949fcb7b5f0cbea0938ba5 (patch)
treef364b9b7c635a8cd7c68ee0d73480b38591deb3b /src
parent0b121d3816c9a5a0f416f7b536b969924865cfe2 (diff)
downloadirssi-9092649c74b8c7e760949fcb7b5f0cbea0938ba5.zip
/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
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/chat-completion.c2
1 files changed, 2 insertions, 0 deletions
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) {