diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-05-16 12:46:09 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-05-16 12:46:09 +0000 |
commit | b8ac543f828525999c7439f9b7a00de620c46de4 (patch) | |
tree | 4ffcd8867b41dfb60f0bb33d130cc8cbd61b73f9 /src/fe-common/core | |
parent | 24fe627a255a07eefb2c17285ee7d573e97fc479 (diff) | |
download | irssi-b8ac543f828525999c7439f9b7a00de620c46de4.zip |
Stop the 'complete word' signal in the default completer when the
channel name completion list is non empty, bug #316.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/chat-completion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 21e4aff0..29919b5c 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -632,6 +632,7 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, if (server != NULL && server_ischannel(server, word)) { /* probably completing a channel name */ *list = completion_get_channels(window->active_server, word); + if (*list != NULL) signal_stop(); return; } |