mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-05 13:31:45 -08:00
(overlay_strings): Finish up previous change.
This commit is contained in:
parent
e6354b3ed4
commit
9f4d7cde2c
1 changed files with 6 additions and 3 deletions
|
|
@ -2256,12 +2256,15 @@ overlay_strings (pos, w, pstr)
|
|||
{
|
||||
Lisp_Object tem;
|
||||
int i;
|
||||
char *p;
|
||||
unsigned char *p;
|
||||
int total = overlay_heads.bytes + overlay_tails.bytes;
|
||||
|
||||
if (total > overlay_str_len)
|
||||
overlay_str_buf = (char *)xrealloc (overlay_str_buf,
|
||||
overlay_str_len = total);
|
||||
{
|
||||
overlay_str_len = total;
|
||||
overlay_str_buf = (unsigned char *)xrealloc (overlay_str_buf,
|
||||
total);
|
||||
}
|
||||
p = overlay_str_buf;
|
||||
for (i = overlay_tails.used; --i >= 0;)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue