aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2024-01-13 10:18:03 +0100
committerStefan Kangas2024-01-13 10:18:03 +0100
commit1bfc7fd33d78ff29ee62f5a6b7d7769c1f8099c8 (patch)
treed600c0034829717417fcaf33cc9807b07faec9b7 /src
parentec16b69e7f0b9437e998688cb2877cc425edb70b (diff)
downloademacs-1bfc7fd33d78ff29ee62f5a6b7d7769c1f8099c8.tar.gz
emacs-1bfc7fd33d78ff29ee62f5a6b7d7769c1f8099c8.zip
Prefer AREF in GET_TRANSLATION_TABLE
* src/ccl.c (GET_TRANSLATION_TABLE): Prefer using AREF to depending on vector internals.
Diffstat (limited to 'src')
-rw-r--r--src/ccl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccl.c b/src/ccl.c
index 1d3ad010382..b4dda404b95 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -873,7 +873,7 @@ static struct ccl_prog_stack ccl_prog_stack_struct[256];
873static inline Lisp_Object 873static inline Lisp_Object
874GET_TRANSLATION_TABLE (int id) 874GET_TRANSLATION_TABLE (int id)
875{ 875{
876 return XCDR (XVECTOR (Vtranslation_table_vector)->contents[id]); 876 return XCDR (AREF (Vtranslation_table_vector, id));
877} 877}
878 878
879void 879void