diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-08-28 21:47:13 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-08-28 21:47:13 +0000 | 
| commit | f20105311324cd9998979d6302c79f7b6dc1879f (patch) | |
| tree | 15d0f287c735370d7c344c86a8addbbf04e4b2a5 /lib/libcurses/standout.c | |
| parent | c69d09e4359180c046b109e2084de520486fdaf8 (diff) | |
Notes
Diffstat (limited to 'lib/libcurses/standout.c')
| -rw-r--r-- | lib/libcurses/standout.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/lib/libcurses/standout.c b/lib/libcurses/standout.c index 754b423d52be..903400a7a38f 100644 --- a/lib/libcurses/standout.c +++ b/lib/libcurses/standout.c @@ -41,28 +41,28 @@ static char sccsid[] = "@(#)standout.c	8.2 (Berkeley) 5/4/94";   * wstandout   *	Enter standout mode.   */ -char * +int  wstandout(win)  	register WINDOW *win;  {  	if (!SO && !UC) -		return (0); +		return (ERR);  	win->flags |= __WSTANDOUT; -	return (SO ? SO : UC); +	return (OK);  }  /*   * wstandend --   *	Exit standout mode.   */ -char * +int  wstandend(win)  	register WINDOW *win;  {  	if (!SO && !UC) -		return (0); +		return (ERR);  	win->flags &= ~__WSTANDOUT; -	return (SE ? SE : UC); +	return (OK);  } | 
