summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/tack/charset.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-21 05:30:25 +0000
committerpeter <peter@FreeBSD.org>2002-05-21 05:30:25 +0000
commit9a7523d4b2c09cefef7372e8a011b8d54fb07e5e (patch)
treebd986d58f5a6e348466b5362637ba93e6cd5bf8c /contrib/ncurses/tack/charset.c
parent635048e64c28721e175b82444857d679f6740aa2 (diff)
downloadFreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.zip
FreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.tar.gz
Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
Diffstat (limited to 'contrib/ncurses/tack/charset.c')
-rw-r--r--contrib/ncurses/tack/charset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/ncurses/tack/charset.c b/contrib/ncurses/tack/charset.c
index a5cac94..991401f 100644
--- a/contrib/ncurses/tack/charset.c
+++ b/contrib/ncurses/tack/charset.c
@@ -21,7 +21,7 @@
#include <tack.h>
-MODULE_ID("$Id: charset.c,v 1.6 2000/11/05 00:22:00 tom Exp $")
+MODULE_ID("$Id: charset.c,v 1.8 2001/06/18 18:44:26 tom Exp $")
/*
Menu definitions for alternate character set and SGR tests.
@@ -285,10 +285,12 @@ charset_sgr(
}
put_crlf();
+#ifdef max_attributes
if (max_attributes >= 0) {
sprintf(temp, "(ma) Maximum attributes %d ", max_attributes);
ptext(temp);
}
+#endif
generic_done_message(t, state, ch);
}
@@ -433,12 +435,12 @@ test_acs(
break;
}
if (glyph[j].name[0] == '\0') {
- if (isgraph(CharOf(acs_chars[i]))) {
+ if (isgraph(UChar(acs_chars[i]))) {
sprintf(temp, " %c",
acs_chars[i]);
} else {
sprintf(temp, " 0x%02x",
- CharOf(acs_chars[i]));
+ UChar(acs_chars[i]));
}
strcpy(&temp[5], " *** has no mapping ***");
putln(temp);
OpenPOWER on IntegriCloud