From a0c34463a56c1fae963f6f76a7dfef07d4decc6a Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Fri, 10 Mar 2017 17:13:20 +0100 Subject: [PATCH] Merge pull request #669 from dequis/expand-double-backslash expand_escape: expand double backslash as a backslash (cherry picked from commit 26187d1d30f589d10300de2798f5a3ec4b0c1a3d) --- src/core/misc.c | 2 ++ 1 file changed, 2 insertions(+) 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 */