]> code.delx.au - gnu-emacs/blobdiff - src/insdel.c
Simplify and cleanup character conversion stuff.
[gnu-emacs] / src / insdel.c
index 2894af753483fdf430b5f5d60e6393fc0aff5ab5..876e2869978a345c873090287623919df1fb9161 100644 (file)
@@ -701,7 +701,7 @@ count_combining_after (const unsigned char *string,
        (2) POS is the last of the current buffer.
        (3) A character at POS can't be a following byte of multibyte
            character.  */
-  if (length > 0 && ASCII_BYTE_P (string[length - 1])) /* case (1) */
+  if (length > 0 && ASCII_CHAR_P (string[length - 1])) /* case (1) */
     return 0;
   if (pos_byte == Z_BYTE)      /* case (2) */
     return 0;