mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
rename function
This commit is contained in:
parent
35f5e5f278
commit
8c30367452
@ -758,7 +758,7 @@ char *escape_string(const char *str)
|
||||
}
|
||||
|
||||
/* Escape all '\' chars with '\' */
|
||||
char *escape_string_escape(const char *str)
|
||||
char *escape_string_backslashes(const char *str)
|
||||
{
|
||||
char *ret, *p;
|
||||
|
||||
|
@ -94,7 +94,7 @@ char *ascii_strdown(char *str);
|
||||
char *escape_string(const char *str);
|
||||
|
||||
/* Escape all '\' chars with '\' */
|
||||
char *escape_string_escape(const char *str);
|
||||
char *escape_string_backslashes(const char *str);
|
||||
|
||||
/* convert all low-ascii (<32) to ^<A..> combinations */
|
||||
char *show_lowascii(const char *str);
|
||||
|
@ -256,7 +256,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_escape(complist->data) : g_strdup(complist->data);
|
||||
escape_string_backslashes(complist->data) : g_strdup(complist->data);
|
||||
|
||||
/* word completed */
|
||||
*pos = startpos + strlen(data);
|
||||
|
Loading…
Reference in New Issue
Block a user