Commit 9f4d7cde authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(overlay_strings): Finish up previous change.

parent e6354b3e
......@@ -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;)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment