diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-03-02 06:23:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-03-02 06:23:57 +0000 |
commit | e52ae7d7cb3b9267a450ee786b056b14391f2f50 (patch) | |
tree | 852bbb003a1438d75ce8016c9feef856d56fd2fd /lib/libcurses/base/wresize.c | |
parent | aedffcef562be3c46e9a21641c0a65c968b1d889 (diff) |
ncurses-4.2-990301
Diffstat (limited to 'lib/libcurses/base/wresize.c')
-rw-r--r-- | lib/libcurses/base/wresize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/base/wresize.c b/lib/libcurses/base/wresize.c index 47ed197ca62..b70f5678231 100644 --- a/lib/libcurses/base/wresize.c +++ b/lib/libcurses/base/wresize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wresize.c,v 1.1 1999/01/18 19:10:08 millert Exp $ */ +/* $OpenBSD: wresize.c,v 1.2 1999/03/02 06:23:28 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -34,7 +34,7 @@ #include <curses.priv.h> -MODULE_ID("$From: wresize.c,v 1.11 1998/10/12 12:24:40 Alexander.V.Lukyanov Exp $") +MODULE_ID("$From: wresize.c,v 1.12 1999/02/27 18:57:31 tom Exp $") /* * Reallocate a curses WINDOW struct to either shrink or grow to the specified @@ -42,7 +42,7 @@ MODULE_ID("$From: wresize.c,v 1.11 1998/10/12 12:24:40 Alexander.V.Lukyanov Exp * blanks. The application is responsible for repainting the blank area. */ -#define DOALLOC(p,t,n) (t *)_nc_doalloc(p, sizeof(t)*(n)) +#define DOALLOC(p,t,n) typeRealloc(t, n, p) #define ld_ALLOC(p,n) DOALLOC(p,struct ldat,n) #define c_ALLOC(p,n) DOALLOC(p,chtype,n) |