diff options
Diffstat (limited to 'contrib/ncurses/tack/charset.c')
-rw-r--r-- | contrib/ncurses/tack/charset.c | 8 |
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); |