From c61bca6a2858108256801abf8f87caaa3cee1116 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 10 Nov 1998 00:24:40 +0000 Subject: [PATCH] (CATEGORY_SET): Adjusted for the change of cmpchar_component. (CATEGORY_SET): Likewise. --- src/category.h | 4 ++-- 1 file 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. */ -- 2.39.2