projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6354b3
)
(overlay_strings): Finish up previous change.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 4 Jul 1997 18:36:58 +0000
(18:36 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 4 Jul 1997 18:36:58 +0000
(18:36 +0000)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index c2159627eb5e639578ef9a06b839ef2b28febb77..7b33c71daef03b185f32dbdd6478ead2792c2e0d 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-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;)
{