changeset 19938:98f1cc8e5c74

(compute_motion): Ignore the display table entry for a base leading code when dealing with multibyte characters.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Sep 1997 19:51:28 +0000
parents f497e74a29aa
children bd8f326c0aad
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Mon Sep 15 19:48:11 1997 +0000
+++ b/src/indent.c	Mon Sep 15 19:51:28 1997 +0000
@@ -1256,7 +1256,8 @@
 		}
 	    }
 
-	  if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c)))
+	  if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))
+	      && ! (multibyte && BASE_LEADING_CODE_P (c)))
 	    hpos += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size;
 	  else if (c >= 040 && c < 0177)
 	    hpos++;