diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-26 01:38:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-26 01:38:46 +0000 |
commit | 219d276b0a5719a54a90916975f804093ceed962 (patch) | |
tree | 7077854e6549e8d1da64ae1d96995c964131bf05 | |
parent | 0f579f4b1e4d1bd31fefb2d0868ec4ed436c858f (diff) | |
download | irssi-219d276b0a5719a54a90916975f804093ceed962.zip |
bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/completion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 08a538dd..49e74783 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -537,6 +537,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, } /* check only for /command completions from now on */ + if (*linestart == '\0') + return; + cmdchars = strchr(cmdchars, *linestart); if (cmdchars == NULL) return; |