summaryrefslogtreecommitdiff
path: root/lib/libcurses/newwin.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commit6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libcurses/newwin.c
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'lib/libcurses/newwin.c')
-rw-r--r--lib/libcurses/newwin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcurses/newwin.c b/lib/libcurses/newwin.c
index afc90cf0aecb..327381774930 100644
--- a/lib/libcurses/newwin.c
+++ b/lib/libcurses/newwin.c
@@ -158,7 +158,7 @@ __makenew(nl, nc, by, bx, sub)
register WINDOW *win;
register __LINE *lp;
int i;
-
+
#ifdef DEBUG
__CTRACE("makenew: (%d, %d, %d, %d)\n", nl, nc, by, bx);
@@ -169,7 +169,7 @@ __makenew(nl, nc, by, bx, sub)
__CTRACE("makenew: nl = %d\n", nl);
#endif
- /*
+ /*
* Set up line pointer array and line space.
*/
if ((win->lines = malloc (nl * sizeof(__LINE *))) == NULL) {
@@ -187,14 +187,14 @@ __makenew(nl, nc, by, bx, sub)
/*
* Allocate window space in one chunk.
*/
- if ((win->wspace =
+ if ((win->wspace =
malloc(nc * nl * sizeof(__LDATA))) == NULL) {
free(win->lines);
free(win->lspace);
free(win);
return NULL;
}
-
+
/*
* Point line pointers to line space, and lines themselves into
* window space.