Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f94b82d9
Commit
f94b82d9
authored
Dec 13, 2000
by
Dave Love
Browse files
(ensure_scope_buffer_room): Fix xrealloc call.
parent
5edf6b55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib-src/ebrowse.c
lib-src/ebrowse.c
+1
-1
No files found.
lib-src/ebrowse.c
View file @
f94b82d9
...
...
@@ -1202,7 +1202,7 @@ ensure_scope_buffer_room (len)
if
(
scope_buffer_len
+
len
>=
scope_buffer_size
)
{
int
new_size
=
max
(
2
*
scope_buffer_size
,
scope_buffer_len
+
len
);
scope_buffer
=
(
char
*
)
xrealloc
(
new_size
);
scope_buffer
=
(
char
*
)
xrealloc
(
scope_buffer
,
new_size
);
scope_buffer_size
=
new_size
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment