aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/progs/tput.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
commit7a69bbfb278952228c9aa1eca241e65fcdef425e (patch)
treee83b2ef47811e687a6c54035c9af6d4a2b7f14e1 /contrib/ncurses/progs/tput.c
parent18259542b2f8fa7e3f76f4bb0dd37995dfd424aa (diff)
downloadsrc-7a69bbfb278952228c9aa1eca241e65fcdef425e.tar.gz
src-7a69bbfb278952228c9aa1eca241e65fcdef425e.zip
Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=76726
Diffstat (limited to 'contrib/ncurses/progs/tput.c')
-rw-r--r--contrib/ncurses/progs/tput.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ncurses/progs/tput.c b/contrib/ncurses/progs/tput.c
index a72a2e892fdf..7aab90908a40 100644
--- a/contrib/ncurses/progs/tput.c
+++ b/contrib/ncurses/progs/tput.c
@@ -45,7 +45,7 @@
#endif
#include <transform.h>
-MODULE_ID("$Id: tput.c,v 1.24 2000/10/05 00:05:04 tom Exp $")
+MODULE_ID("$Id: tput.c,v 1.26 2001/03/24 21:59:48 tom Exp $")
#define PUTS(s) fputs(s, stdout)
#define PUTCHAR(c) putchar(c)
@@ -96,7 +96,7 @@ check_aliases(const char *name)
* in tparm() to decide how to parse the varargs list.
*/
static TParams
-tparm_type(char *name)
+tparm_type(const char *name)
{
#define TD(code, longname, ti, tc) {code,longname},{code,ti},{code,tc}
TParams result = Numbers;
@@ -376,7 +376,7 @@ main(int argc, char **argv)
/* crack the argument list into a dope vector */
for (cp = buf; *cp; cp++) {
- if (isspace(*cp))
+ if (isspace(CharOf(*cp)))
*cp = '\0';
else if (cp == buf || cp[-1] == 0)
argvec[argnum++] = cp;