# HG changeset patch # User Kenichi Handa # Date 1014946940 0 # Node ID beebc1deb7f2ecbe7efc2309a41c54cff6ee53fd # Parent 7c109f1a7bcb118fad201b0f99d8a2b61d6cfc64 Include "character.h" instead of "charset.h". (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of WIDTH_BY_CHAR_HEAD. diff -r 7c109f1a7bcb -r beebc1deb7f2 src/indent.c --- a/src/indent.c Fri Mar 01 01:41:06 2002 +0000 +++ b/src/indent.c Fri Mar 01 01:42:20 2002 +0000 @@ -22,7 +22,7 @@ #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 @@ 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; \ } \