changeset 89030:28c841bc7706

(get_next_display_element): Don't display unibyte 8-bit characters by octal form.
author Kenichi Handa <handa@m17n.org>
date Tue, 20 Aug 2002 11:13:34 +0000
parents ad8f56efa7c6
children 5fd1f8a7e007
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Aug 20 11:11:19 2002 +0000
+++ b/src/xdisp.c	Tue Aug 20 11:13:34 2002 +0000
@@ -4232,9 +4232,9 @@
 	  else if ((it->c < ' '
 		    && (it->area != TEXT_AREA
 			|| (it->c != '\n' && it->c != '\t')))
-		   || (it->multibyte_p ? CHAR_BYTE8_P (it->c) : it->c >= 127)
 		   || (it->c != '\n' && it->c != '\t'
-		       && !CHAR_PRINTABLE_P (it->c)))
+		       && (it->multibyte_p ? !CHAR_PRINTABLE_P (it->c)
+			   : it->c == 127)))
 	    {
 	      /* IT->c is a control character which must be displayed
 		 either as '\003' or as `^C' where the '\\' and '^'