1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-07-26 01:38:46 +00:00 committed by cras
parent 0f579f4b1e
commit 219d276b0a

View File

@ -537,6 +537,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window,
} }
/* check only for /command completions from now on */ /* check only for /command completions from now on */
if (*linestart == '\0')
return;
cmdchars = strchr(cmdchars, *linestart); cmdchars = strchr(cmdchars, *linestart);
if (cmdchars == NULL) return; if (cmdchars == NULL) return;