From: tomo Date: Fri, 10 Sep 1999 09:02:28 +0000 (+0000) Subject: (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS' instead of X-Git-Tag: r21-2-19-utf-2000-0_7-0~58 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a9246fe91e39a6dcfa4a1aa76364b40106f50d1d;p=chise%2Fxemacs-chise.git.1 (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS' instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'. (emchar_string_displayed_columns): Likewise. --- 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 */