comparison 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
comparison
equal deleted inserted replaced
106184:0579465d2619 106185:f2cea199b0c4
2407 } 2407 }
2408 if (ASCII_BYTE_P (*p)) 2408 if (ASCII_BYTE_P (*p))
2409 p++, pos++; 2409 p++, pos++;
2410 else if (CHAR_BYTE8_HEAD_P (*p)) 2410 else if (CHAR_BYTE8_HEAD_P (*p))
2411 { 2411 {
2412 c = STRING_CHAR_AND_LENGTH (p, stop - pos, bytes); 2412 c = STRING_CHAR_AND_LENGTH (p, bytes);
2413 /* Delete all bytes for this 8-bit character but the 2413 /* Delete all bytes for this 8-bit character but the
2414 last one, and change the last one to the charcter 2414 last one, and change the last one to the charcter
2415 code. */ 2415 code. */
2416 bytes--; 2416 bytes--;
2417 del_range_2 (pos, pos, pos + bytes, pos + bytes, 0); 2417 del_range_2 (pos, pos, pos + bytes, pos + bytes, 0);