]> git.eshelyaron.com Git - emacs.git/commitdiff
(ensure_scope_buffer_room): Fix xrealloc call.
authorDave Love <fx@gnu.org>
Wed, 13 Dec 2000 17:47:18 +0000 (17:47 +0000)
committerDave Love <fx@gnu.org>
Wed, 13 Dec 2000 17:47:18 +0000 (17:47 +0000)
lib-src/ebrowse.c

index 74743eb5fe6ff76926bd468f0b38dc780637624e..7fbcba2d63bfb2e8f9e5684df8cded2f60be3d4c 100644 (file)
@@ -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;
     }
 }