diff options
| author | Stefan Kangas | 2024-01-13 10:18:03 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-01-13 10:18:03 +0100 |
| commit | 1bfc7fd33d78ff29ee62f5a6b7d7769c1f8099c8 (patch) | |
| tree | d600c0034829717417fcaf33cc9807b07faec9b7 /src | |
| parent | ec16b69e7f0b9437e998688cb2877cc425edb70b (diff) | |
| download | emacs-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -873,7 +873,7 @@ static struct ccl_prog_stack ccl_prog_stack_struct[256]; | |||
| 873 | static inline Lisp_Object | 873 | static inline Lisp_Object |
| 874 | GET_TRANSLATION_TABLE (int id) | 874 | GET_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 | ||
| 879 | void | 879 | void |