mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
" <tab>" in query printed glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1677 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
af86920d3f
commit
c4fe917be3
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos)
|
|||
BUT if we start completion with "/msg "<tab>, we don't
|
||||
want to complete the /msg word, but instead complete empty
|
||||
word with /msg being in linestart. */
|
||||
if (*pos > 0 && line[*pos-1] == ' ') {
|
||||
if (*pos > 0 && line[*pos-1] == ' ' &&
|
||||
(*linestart == '\0' || wordstart[-1] != ' ')) {
|
||||
char *old;
|
||||
|
||||
old = linestart;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue