Changeset 35b6eb9 for editwin.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:39 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
ddbbcffa
Parents:
96828e4
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:03)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:39)
Message:
Replace owl_realloc with g_renew.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r96828e4 r35b6eb9  
    654654  if (need > 0) {
    655655    size = e->allocated + need + INCR - (need % INCR);
    656     e->buff = owl_realloc(e->buff, size);
     656    e->buff = g_renew(char, e->buff, size);
    657657    e->allocated = size;
    658658  }
Note: See TracChangeset for help on using the changeset viewer.