1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

rename function

This commit is contained in:
ailin-nemui 2019-01-08 15:48:12 +01:00
parent 35f5e5f278
commit 8c30367452
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);