diff options
| author | Kenichi Handa | 2002-03-01 01:42:20 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-03-01 01:42:20 +0000 |
| commit | f6ed712f0a15dccac87d306f0c38aeb57e48ea0f (patch) | |
| tree | 4520f5cff7d3b7127f43dc1f2fcd51c2a306a3df | |
| parent | 5c23ffd551520099dedc8200c75a830f4fd29cc0 (diff) | |
| download | emacs-f6ed712f0a15dccac87d306f0c38aeb57e48ea0f.tar.gz emacs-f6ed712f0a15dccac87d306f0c38aeb57e48ea0f.zip | |
Include "character.h" instead of "charset.h".
(MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of
WIDTH_BY_CHAR_HEAD.
| -rw-r--r-- | src/indent.c | 4 |
1 files 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. */ | |||
| 22 | #include <config.h> | 22 | #include <config.h> |
| 23 | #include "lisp.h" | 23 | #include "lisp.h" |
| 24 | #include "buffer.h" | 24 | #include "buffer.h" |
| 25 | #include "charset.h" | 25 | #include "character.h" |
| 26 | #include "category.h" | 26 | #include "category.h" |
| 27 | #include "indent.h" | 27 | #include "indent.h" |
| 28 | #include "keyboard.h" | 28 | #include "keyboard.h" |
| @@ -321,7 +321,7 @@ check_composition (pos, pos_byte, point, len, len_byte, width) | |||
| 321 | if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))) \ | 321 | if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))) \ |
| 322 | width = XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; \ | 322 | width = XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; \ |
| 323 | else \ | 323 | else \ |
| 324 | width = WIDTH_BY_CHAR_HEAD (*p); \ | 324 | width = CHAR_WIDTH (c); \ |
| 325 | if (width > 1) \ | 325 | if (width > 1) \ |
| 326 | wide_column = width; \ | 326 | wide_column = width; \ |
| 327 | } \ | 327 | } \ |