1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-08 04:26:01 -04:00

Don't add space after tab-completed nicks.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-19 18:06:15 +00:00 committed by cras
parent 04bb4bbf39
commit 381c823e1a

View File

@ -553,7 +553,8 @@ static void complete_window_nicks(GList **list, WINDOW_REC *window,
} }
static void sig_complete_word(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; SERVER_REC *server;
CHANNEL_REC *channel; CHANNEL_REC *channel;
@ -600,7 +601,8 @@ static void sig_complete_word(GList **list, WINDOW_REC *window,
} else if (channel != NULL) { } else if (channel != NULL) {
/* nick completion .. we could also be completing a nick /* nick completion .. we could also be completing a nick
after /MSG from nicks in channel */ 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(); if (*list != NULL) signal_stop();