aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/character.c b/src/character.c
index cfaaf8eeca9..def1ad090fd 100644
--- a/src/character.c
+++ b/src/character.c
@@ -36,7 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36#ifdef emacs 36#ifdef emacs
37 37
38#include <sys/types.h> 38#include <sys/types.h>
39#include <setjmp.h>
40#include <intprops.h> 39#include <intprops.h>
41#include "lisp.h" 40#include "lisp.h"
42#include "character.h" 41#include "character.h"
@@ -541,7 +540,7 @@ multibyte_chars_in_text (const unsigned char *ptr, ptrdiff_t nbytes)
541 int len = MULTIBYTE_LENGTH (ptr, endp); 540 int len = MULTIBYTE_LENGTH (ptr, endp);
542 541
543 if (len == 0) 542 if (len == 0)
544 abort (); 543 emacs_abort ();
545 ptr += len; 544 ptr += len;
546 chars++; 545 chars++;
547 } 546 }