From 381c823e1a00020085e0330b01253c307bc1fec2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 19 Nov 2001 18:06:15 +0000 Subject: [PATCH] Don't add space after tab-completed nicks. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/chat-completion.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index c8d34427..783f10a7 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -553,7 +553,8 @@ static void complete_window_nicks(GList **list, WINDOW_REC *window, } static void sig_complete_word(GList **list, WINDOW_REC *window, - const char *word, const char *linestart) + const char *word, const char *linestart, + int *want_space) { SERVER_REC *server; CHANNEL_REC *channel; @@ -600,7 +601,8 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, } else if (channel != NULL) { /* nick completion .. we could also be completing a nick after /MSG from nicks in channel */ - complete_window_nicks(list, window, word, linestart); + complete_window_nicks(list, window, word, linestart); + if (list != NULL) *want_space = FALSE; } if (*list != NULL) signal_stop();