diff options
| author | Paul Richards <paul@FreeBSD.org> | 1995-01-24 13:27:46 +0000 | 
|---|---|---|
| committer | Paul Richards <paul@FreeBSD.org> | 1995-01-24 13:27:46 +0000 | 
| commit | 39c631d1b96834c6c496cdfd5917678ef5447cfb (patch) | |
| tree | 9e98312d3eeaafffe47ec70b4cd02e871b49aa4a /lib/libforms | |
| parent | 10ee7eaff272e88d4d4affffec3756ce8c2e9a5a (diff) | |
Notes
Diffstat (limited to 'lib/libforms')
| -rw-r--r-- | lib/libforms/forms.c | 2 | ||||
| -rw-r--r-- | lib/libforms/forms.h | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lib/libforms/forms.c b/lib/libforms/forms.c index 72dd90ff048c..c0fc9bbcf1bf 100644 --- a/lib/libforms/forms.c +++ b/lib/libforms/forms.c @@ -43,7 +43,7 @@ initfrm(struct form *form)  	cbreak();  	noecho(); -	form->window = newwin(form->nlines, form->ncols, form->y, form->x); +	form->window = newwin(form->height, form->width, form->y, form->x);  	if (!form->window) {  		print_status("Couldn't open window, closing form");  		return (ERR); diff --git a/lib/libforms/forms.h b/lib/libforms/forms.h index bdb59886eebd..be563039507f 100644 --- a/lib/libforms/forms.h +++ b/lib/libforms/forms.h @@ -30,8 +30,8 @@ struct form {  	int no_fields;  	int current_field;  	struct field *field; -	int nlines; -	int ncols; +	int height; +	int width;  	int y;  	int x;  	WINDOW *window; | 
