diff options
Diffstat (limited to 'tc.bind.c')
-rw-r--r-- | tc.bind.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tc.bind.c b/tc.bind.c index 33312f478522..74883a78d0e5 100644 --- a/tc.bind.c +++ b/tc.bind.c @@ -32,6 +32,7 @@ #include "sh.h" #include "ed.h" #include "ed.defns.h" +#include "tw.h" static void printkey (const KEYCMD *, CStr *); static KEYCMD parsecmd (Char *); @@ -139,7 +140,7 @@ dobindkey(Char **v, struct command *c) } cleanup_push(in.buf, xfree); -#ifndef WINNT_NATIVE +#if !defined(WINNT_NATIVE) && defined(SHORT_STRINGS) if (in.buf[0] > 0xFF) { bad_spec(in.buf); cleanup_until(in.buf); @@ -385,7 +386,7 @@ parsestring(const Char *str, CStr *buf) cleanup_push(&b, Strbuf_cleanup); for (p = str; *p != 0; p++) { if ((*p & CHAR) == '\\' || (*p & CHAR) == '^') { - if ((es = parseescape(&p)) == CHAR_ERR) { + if ((es = parseescape(&p, TRUE)) == CHAR_ERR) { cleanup_until(&b); return 0; } else |