comparison src/insdel.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 183866b06e0b
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
353 } 353 }
354 else 354 else
355 { 355 {
356 /* optimize for successive characters from the same charset */ 356 /* optimize for successive characters from the same charset */
357 Bufbyte leading_byte = *ptr; 357 Bufbyte leading_byte = *ptr;
358 size_t bytes = REP_BYTES_BY_FIRST_BYTE (leading_byte); 358 Memory_Count bytes = REP_BYTES_BY_FIRST_BYTE (leading_byte);
359 while ((ptr < end) && (*ptr == leading_byte)) 359 while ((ptr < end) && (*ptr == leading_byte))
360 ptr += bytes, count++; 360 ptr += bytes, count++;
361 } 361 }
362 } 362 }
363 363