changeset 34522:db980c0e762d

(ensure_scope_buffer_room): Fix xrealloc call.
author Dave Love <fx@gnu.org>
date Wed, 13 Dec 2000 17:47:18 +0000
parents 4ca21a1afdbe
children ae23bd13d2ee
files lib-src/ebrowse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ebrowse.c	Wed Dec 13 16:14:49 2000 +0000
+++ b/lib-src/ebrowse.c	Wed Dec 13 17:47:18 2000 +0000
@@ -1202,7 +1202,7 @@
   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;
     }
 }