aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 71ce1fac..930f66e4 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -453,7 +453,7 @@ int unescape2(char **c, int echo)
}
}
- if (-1 == (idx = stridx("\\abeEfnrtv'\"?", **c))) return '\\';
+ if (-1 == (idx = stridx("\\abeEfnrtv'\"?0", **c))) return '\\';
++*c;
return "\\\a\b\033\033\f\n\r\t\v'\"?"[idx];