comparison src/line-number.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 abe6d1db359e
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
166 if (length > LINE_NUMBER_LARGE_STRING 166 if (length > LINE_NUMBER_LARGE_STRING
167 || 167 ||
168 /* We could also count how many newlines there are in the string 168 /* We could also count how many newlines there are in the string
169 and update the cache accordingly, but it would be too much 169 and update the cache accordingly, but it would be too much
170 work for too little gain. */ 170 work for too little gain. */
171 memchr ((void *)nonreloc, '\n', (size_t) length)) 171 memchr ((void *)nonreloc, '\n', length))
172 invalidate_line_number_cache (b, pos); 172 invalidate_line_number_cache (b, pos);
173 } 173 }
174 174
175 /* Invalidate the cache positions after FROM, if the region to be 175 /* Invalidate the cache positions after FROM, if the region to be
176 deleted contains a newline. If the region-to-be-deleted is larger 176 deleted contains a newline. If the region-to-be-deleted is larger