diff options
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/composite.c b/src/composite.c index 28942fe4f74..4f125522e38 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -24,8 +24,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | 24 | ||
| 25 | #include <config.h> | 25 | #include <config.h> |
| 26 | 26 | ||
| 27 | #define COMPOSITE_INLINE EXTERN_INLINE | ||
| 28 | |||
| 29 | #include "lisp.h" | 27 | #include "lisp.h" |
| 30 | #include "character.h" | 28 | #include "character.h" |
| 31 | #include "buffer.h" | 29 | #include "buffer.h" |
| @@ -268,7 +266,7 @@ get_composition_id (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t nchars, | |||
| 268 | composition_table = xpalloc (composition_table, &composition_table_size, | 266 | composition_table = xpalloc (composition_table, &composition_table_size, |
| 269 | 1, -1, sizeof *composition_table); | 267 | 1, -1, sizeof *composition_table); |
| 270 | 268 | ||
| 271 | key_contents = XVECTOR (key)->contents; | 269 | key_contents = XVECTOR (key)->u.contents; |
| 272 | 270 | ||
| 273 | /* Check if the contents of COMPONENTS are valid if COMPONENTS is a | 271 | /* Check if the contents of COMPONENTS are valid if COMPONENTS is a |
| 274 | vector or a list. It should be a sequence of: | 272 | vector or a list. It should be a sequence of: |
| @@ -676,7 +674,7 @@ composition_gstring_put_cache (Lisp_Object gstring, ptrdiff_t len) | |||
| 676 | len = j; | 674 | len = j; |
| 677 | } | 675 | } |
| 678 | 676 | ||
| 679 | lint_assume (len <= TYPE_MAXIMUM (ptrdiff_t) - 2); | 677 | assume (len <= TYPE_MAXIMUM (ptrdiff_t) - 2); |
| 680 | copy = Fmake_vector (make_number (len + 2), Qnil); | 678 | copy = Fmake_vector (make_number (len + 2), Qnil); |
| 681 | LGSTRING_SET_HEADER (copy, Fcopy_sequence (header)); | 679 | LGSTRING_SET_HEADER (copy, Fcopy_sequence (header)); |
| 682 | for (i = 0; i < len; i++) | 680 | for (i = 0; i < len; i++) |