diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libncurses/lib_newwin.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'lib/libncurses/lib_newwin.c')
-rw-r--r-- | lib/libncurses/lib_newwin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libncurses/lib_newwin.c b/lib/libncurses/lib_newwin.c index a4db5f1..793d06e 100644 --- a/lib/libncurses/lib_newwin.c +++ b/lib/libncurses/lib_newwin.c @@ -66,7 +66,7 @@ int i; /* ** make sure window fits inside the original one */ - if ( begy < 0 || begx < 0) + if ( begy < 0 || begx < 0) return NULL; if ( begy + num_lines > orig->_maxy + 1 || begx + num_columns > orig->_maxx + 1) @@ -103,7 +103,7 @@ WINDOW *subwin(WINDOW *w, int l, int c, int y, int x) T(("subwin(%x, %d, %d, %d, %d) called", w, l, c, y, x)); T(("parent has begy = %d, begx = %d", w->_begy, w->_begx)); - return derwin(w, l, c, y - w->_begy, x - w->_begx); + return derwin(w, l, c, y - w->_begy, x - w->_begx); } WINDOW * @@ -115,24 +115,24 @@ WINDOW *win; T(("makenew(%d,%d,%d,%d)", num_lines, num_columns, begy, begx)); if ((win = (WINDOW *) malloc(sizeof(WINDOW))) == NULL) - return NULL; + return NULL; if ((win->_line = (chtype **) calloc(num_lines, sizeof (chtype *))) == NULL) { free(win); - return NULL; + return NULL; } if ((win->_firstchar = calloc(num_lines, sizeof(short))) == NULL) { free(win); free(win->_line); - return NULL; + return NULL; } if ((win->_lastchar = calloc(num_lines, sizeof(short))) == NULL) { free(win); free(win->_line); free(win->_firstchar); - return NULL; + return NULL; } win->_curx = 0; @@ -158,7 +158,7 @@ WINDOW *win; #else win->_use_meta = FALSE; #endif - win->_delay = -1; + win->_delay = -1; win->_immed = FALSE; win->_sync = 0; win->_parx = 0; |