1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #669 from dequis/expand-double-backslash

expand_escape: expand double backslash as a backslash
(cherry picked from commit 26187d1d30)
This commit is contained in:
ailin-nemui 2017-03-10 17:13:20 +01:00 committed by Ailin Nemui
parent 9d1adffc75
commit a0c34463a5

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 */