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:
parent
9d1adffc75
commit
a0c34463a5
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user