mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Merge pull request #978 from ailin-nemui/fix-974
Fix inconsistent escaping from expand_escapes
This commit is contained in:
commit
d57203e926
3 changed files with 20 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase, i
|
|||
|
||||
/* escape if the word doesn't begin with '/' and expand_escapes are turned on */
|
||||
data = strchr(cmdchars, *line) == NULL && expand_escapes ?
|
||||
escape_string(complist->data) : g_strdup(complist->data);
|
||||
escape_string_backslashes(complist->data) : g_strdup(complist->data);
|
||||
|
||||
/* word completed */
|
||||
*pos = startpos + strlen(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue