From 6895abeab878a30d05c122c2467990ebb47bd58a Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Sat, 18 Mar 2017 21:41:53 +0000 Subject: Import of tcsh-6.20.00 --- ed.xmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ed.xmap.c') diff --git a/ed.xmap.c b/ed.xmap.c index acd29d3d0742..f87509be163a 100644 --- a/ed.xmap.c +++ b/ed.xmap.c @@ -1,4 +1,4 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/ed.xmap.c,v 3.37 2009/06/25 21:15:37 christos Exp $ */ +/* $Header: /p/tcsh/cvsroot/tcsh/ed.xmap.c,v 3.38 2015/06/06 21:19:07 christos Exp $ */ /* * ed.xmap.c: This module contains the procedures for maintaining * the extended-key map. @@ -88,7 +88,7 @@ */ #include "sh.h" -RCSID("$tcsh: ed.xmap.c,v 3.37 2009/06/25 21:15:37 christos Exp $") +RCSID("$tcsh: ed.xmap.c,v 3.38 2015/06/06 21:19:07 christos Exp $") #include "ed.h" #include "ed.defns.h" @@ -743,7 +743,7 @@ unparsestring(const CStr *str, const Char *sep) *b++ = (unsigned char) p; } else if (p == ' ' || (Isprint(p) && !Isspace(p))) - b += one_wctomb((char *)b, p & CHAR); + b += one_wctomb((char *)b, p); else { *b++ = '\\'; *b++ = ((p >> 6) & 7) + '0'; -- cgit v1.2.3