From a9246fe91e39a6dcfa4a1aa76364b40106f50d1d Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 10 Sep 1999 09:02:28 +0000 Subject: [PATCH] (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS' instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'. (emchar_string_displayed_columns): Likewise. --- src/insdel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insdel.c b/src/insdel.c index 9da59ca..95e59dc 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -3154,7 +3154,7 @@ bufbyte_string_displayed_columns (CONST Bufbyte *str, Bytecount len) { #ifdef MULE Emchar ch = charptr_emchar (str); - cols += XCHARSET_COLUMNS (CHAR_CHARSET (ch)); + cols += CHAR_COLUMNS (ch); #else cols++; #endif @@ -3172,7 +3172,7 @@ emchar_string_displayed_columns (CONST Emchar *str, Charcount len) int i; for (i = 0; i < len; i++) - cols += XCHARSET_COLUMNS (CHAR_CHARSET (str[i])); + cols += CHAR_COLUMNS (str[i]); return cols; #else /* not MULE */ -- 1.7.10.4