Mercurial > emacs
diff src/buffer.c @ 106185:f2cea199b0c4
* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
ignored second argument. All callers changed.
* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
(RE_STRING_CHAR_AND_LENGTH): Likewise.
* xdisp.c (string_char_and_length): Likewise.
| author | Andreas Schwab <schwab@linux-m68k.org> |
|---|---|
| date | Sat, 21 Nov 2009 11:52:23 +0000 |
| parents | 341a779db1d0 |
| children | 4040ecb0c904 f35e7896a0fe |
line wrap: on
line diff
--- a/src/buffer.c Sat Nov 21 10:32:20 2009 +0000 +++ b/src/buffer.c Sat Nov 21 11:52:23 2009 +0000 @@ -2409,7 +2409,7 @@ p++, pos++; else if (CHAR_BYTE8_HEAD_P (*p)) { - c = STRING_CHAR_AND_LENGTH (p, stop - pos, bytes); + c = STRING_CHAR_AND_LENGTH (p, bytes); /* Delete all bytes for this 8-bit character but the last one, and change the last one to the charcter code. */
