mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
if \x isn't a known escape sequence, it should print just x, not \x.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1887 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
99fe282e6d
commit
905a5127f4
@ -496,12 +496,7 @@ char *parse_special_string(const char *cmd, SERVER_REC *server, void *item,
|
||||
g_string_append_c(str, ';');
|
||||
else {
|
||||
chr = expand_escape(&cmd);
|
||||
if (chr != -1)
|
||||
g_string_append_c(str, chr);
|
||||
else {
|
||||
g_string_append_c(str, '\\');
|
||||
g_string_append_c(str, *cmd);
|
||||
}
|
||||
g_string_append_c(str, chr != -1 ? chr : *cmd);
|
||||
}
|
||||
code = 0;
|
||||
} else if (code == '$') {
|
||||
|
Loading…
Reference in New Issue
Block a user