diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-03-10 17:13:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-10 17:13:20 +0100 |
commit | 26187d1d30f589d10300de2798f5a3ec4b0c1a3d (patch) | |
tree | 111742f8fba812fa9e3b79257d020ad300d1b0dd /src | |
parent | d57c64adeb7b251c5347212239ed0d7b7abe5547 (diff) | |
parent | 93c158d8156293bd95e4bf5bdb75cf8d44bc4eab (diff) | |
download | irssi-26187d1d30f589d10300de2798f5a3ec4b0c1a3d.zip |
Merge pull request #669 from dequis/expand-double-backslash
expand_escape: expand double backslash as a backslash
Diffstat (limited to 'src')
-rw-r--r-- | src/core/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index 1cfa15b6..d8437430 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -690,6 +690,8 @@ int expand_escape(const char **data) return '\n'; case 'e': return 27; /* ESC */ + case '\\': + return '\\'; case 'x': /* hex digit */ |