Mercurial > emacs
changeset 88377:beebc1deb7f2
Include "character.h" instead of "charset.h".
(MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of
WIDTH_BY_CHAR_HEAD.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 01 Mar 2002 01:42:20 +0000 |
parents | 7c109f1a7bcb |
children | 46d69e409b5b |
files | src/indent.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <config.h> #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; \ } \