summaryrefslogtreecommitdiffstats
path: root/arguments.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-29 23:02:25 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-29 23:02:25 +0100
commit414208aab1d7a6ed346a2fb5249d022be5617260 (patch)
treef4b6a65e55c66843e6ab274dda1d352cb866b44e /arguments.c
parent95d68fcba137cc140d90b65de6bde1f502d3cbc1 (diff)
parent7dced376737ef685e09fd5a49161ca2bf423e91b (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'arguments.c')
-rw-r--r--arguments.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arguments.c b/arguments.c
index 38e50829..c8a6ab45 100644
--- a/arguments.c
+++ b/arguments.c
@@ -217,7 +217,7 @@ args_escape(const char *s)
return (escaped);
}
- flags = VIS_OCTAL|VIS_TAB|VIS_NL;
+ flags = VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL;
if (s[strcspn(s, quoted)] != '\0')
flags |= VIS_DQ;
utf8_stravis(&escaped, s, flags);