summaryrefslogtreecommitdiff
path: root/src/character.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-25 14:34:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-25 14:34:39 -0700
commit77b37c05572d1028d0ec2c264ac0ed3a89c0f4da (patch)
treecb5140f5f92f5f91bb9e8846e5254fc58df52cc4 /src/character.c
parentb102ceb110a9cd38f5c589c1869747b1e1c792cb (diff)
downloademacs-77b37c05572d1028d0ec2c264ac0ed3a89c0f4da.tar.gz
* lisp.h: (XVECTOR_SIZE): Remove. All uses replaced with ASIZE.
(ASIZE): Now contains previous implementation of XVECTOR_SIZE instead of invoking XVECTOR_SIZE.
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/character.c b/src/character.c
index 8afe02b4700..12888e0f806 100644
--- a/src/character.c
+++ b/src/character.c
@@ -357,7 +357,7 @@ c_string_width (const unsigned char *str, EMACS_INT len, int precision,
{
val = DISP_CHAR_VECTOR (dp, c);
if (VECTORP (val))
- thiswidth = XVECTOR_SIZE (val);
+ thiswidth = ASIZE (val);
else
thiswidth = CHAR_WIDTH (c);
}
@@ -446,7 +446,7 @@ lisp_string_width (Lisp_Object string, int precision,
{
val = DISP_CHAR_VECTOR (dp, c);
if (VECTORP (val))
- thiswidth = XVECTOR_SIZE (val);
+ thiswidth = ASIZE (val);
else
thiswidth = CHAR_WIDTH (c);
}