summaryrefslogtreecommitdiff
path: root/src/category.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-11-10 00:24:40 +0000
committerKenichi Handa <handa@m17n.org>1998-11-10 00:24:40 +0000
commitc61bca6a2858108256801abf8f87caaa3cee1116 (patch)
tree75c15b6c67b878e2c758f937049bdbf3038718ed /src/category.h
parentde54b0d5ecbfdc1f0ba37e2148d65ff7a6dd22aa (diff)
downloademacs-c61bca6a2858108256801abf8f87caaa3cee1116.tar.gz
(CATEGORY_SET): Adjusted for the change of cmpchar_component.
(CATEGORY_SET): Likewise.
Diffstat (limited to 'src/category.h')
-rw-r--r--src/category.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/category.h b/src/category.h
index 5129d16aa2e..644e6056523 100644
--- a/src/category.h
+++ b/src/category.h
@@ -106,7 +106,7 @@ extern Lisp_Object _temp_category_set;
else \
temp = Faref (table, \
make_number (COMPOSITE_CHAR_P (c) \
- ? cmpchar_component (c, 0) : (c))); \
+ ? cmpchar_component ((c), 0, 1) : (c))); \
temp; })
#else
#define CATEGORY_SET(c) \
@@ -114,7 +114,7 @@ extern Lisp_Object _temp_category_set;
? Faref (current_buffer->category_table, make_number ((unsigned char) c)) \
: Faref (current_buffer->category_table, \
make_number (COMPOSITE_CHAR_P (c) \
- ? cmpchar_component ((c), 0) : (c))))
+ ? cmpchar_component ((c), 0, 1) : (c))))
#endif
/* Return the doc string of CATEGORY in category table TABLE. */