diff options
author | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
commit | f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646 (patch) | |
tree | 69fb6353246292f64a8c7babbd9a86da48cbb4dc /contrib/texinfo/info/info-utils.c | |
parent | 5500b59c459afe212e4ee8d1c1847e051a9b7653 (diff) | |
download | FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.zip FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.tar.gz |
Import of stripped down GNU texinfo 4.2
Diffstat (limited to 'contrib/texinfo/info/info-utils.c')
-rw-r--r-- | contrib/texinfo/info/info-utils.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/texinfo/info/info-utils.c b/contrib/texinfo/info/info-utils.c index a19c950..73a8081 100644 --- a/contrib/texinfo/info/info-utils.c +++ b/contrib/texinfo/info/info-utils.c @@ -1,5 +1,5 @@ /* info-utils.c -- miscellanous. - $Id: info-utils.c,v 1.7 1998/08/10 18:07:47 karl Exp $ + $Id: info-utils.c,v 1.8 2002/03/08 21:41:44 karl Exp $ Copyright (C) 1993, 98 Free Software Foundation, Inc. @@ -443,9 +443,11 @@ printed_representation (character, hpos) { register int i = 0; int printable_limit = ISO_Latin_p ? 255 : 127; - + + if (raw_escapes_p && character == '\033') + the_rep[i++] = character; /* Show CTRL-x as ^X. */ - if (iscntrl (character) && character < 127) + else if (iscntrl (character) && character < 127) { switch (character) { |