1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

expand_escape: expand double backslash as a backslash

This commit is contained in:
dequis 2017-03-08 18:57:53 -03:00
parent d57c64adeb
commit 93c158d815

View File

@ -690,6 +690,8 @@ int expand_escape(const char **data)
return '\n'; return '\n';
case 'e': case 'e':
return 27; /* ESC */ return 27; /* ESC */
case '\\':
return '\\';
case 'x': case 'x':
/* hex digit */ /* hex digit */