summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/misc.c2
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 */