From f6ed712f0a15dccac87d306f0c38aeb57e48ea0f Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 1 Mar 2002 01:42:20 +0000 Subject: [PATCH] Include "character.h" instead of "charset.h". (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of WIDTH_BY_CHAR_HEAD. --- src/indent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/indent.c b/src/indent.c index 402456e1685..9f920b66584 100644 --- a/src/indent.c +++ b/src/indent.c @@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */ #include #include "lisp.h" #include "buffer.h" -#include "charset.h" +#include "character.h" #include "category.h" #include "indent.h" #include "keyboard.h" @@ -321,7 +321,7 @@ check_composition (pos, pos_byte, point, len, len_byte, width) if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))) \ width = XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; \ else \ - width = WIDTH_BY_CHAR_HEAD (*p); \ + width = CHAR_WIDTH (c); \ if (width > 1) \ wide_column = width; \ } \ -- 2.39.2