X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=tack%2Fcharset.c;h=991401f37437479336fa9b93d1a230ddce979516;hp=ca0ac6ff20d6f8ce12405c71201322211899ca18;hb=refs%2Ftags%2Fv5.3;hpb=c633e5103a29a38532cf1925257b91cea33fd090 diff --git a/tack/charset.c b/tack/charset.c index ca0ac6ff..991401f3 100644 --- a/tack/charset.c +++ b/tack/charset.c @@ -21,7 +21,7 @@ #include -MODULE_ID("$Id: charset.c,v 1.4 2000/03/04 20:30:52 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(acs_chars[i])) { + if (isgraph(UChar(acs_chars[i]))) { sprintf(temp, " %c", acs_chars[i]); } else { sprintf(temp, " 0x%02x", - (acs_chars[i] & 0xff)); + UChar(acs_chars[i])); } strcpy(&temp[5], " *** has no mapping ***"); putln(temp);