diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-19 18:06:15 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-19 18:06:15 +0000 |
commit | 381c823e1a00020085e0330b01253c307bc1fec2 (patch) | |
tree | 8a3fcec33d5b2e95d9c6af7552ff2b360d2af7ec /src/fe-common/core/chat-completion.c | |
parent | 04bb4bbf398e5fe1b368471bc251fec87a90b340 (diff) | |
download | irssi-381c823e1a00020085e0330b01253c307bc1fec2.zip |
Don't add space after tab-completed nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/chat-completion.c')
-rw-r--r-- | src/fe-common/core/chat-completion.c | 6 |
1 files 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(); |