X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=tack%2Fcharset.c;h=9783792aa3dd235ad7d615f4731caf107b4e511f;hp=f1a066e23e616ea40ee4ff8a20775c762d315cbb;hb=027ae42953e3186daed8f3882da73de48291b606;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/tack/charset.c b/tack/charset.c index f1a066e2..9783792a 100644 --- a/tack/charset.c +++ b/tack/charset.c @@ -21,7 +21,7 @@ #include -MODULE_ID("$Id: charset.c,v 1.10 2005/09/17 19:49:16 tom Exp $") +MODULE_ID("$Id: charset.c,v 1.11 2006/11/26 00:13:36 tom Exp $") /* Menu definitions for alternate character set and SGR tests. @@ -159,7 +159,7 @@ charset_status( ptextln(temp); put_str("This line s"); - s = tparm(to_status_line, 0); + s = TPARM_1(to_status_line, 0); tc_putp(s); for (i = 0; i < max; i++) putchp(m[i]); @@ -207,7 +207,7 @@ void put_mode(char *s) { /* send the attribute string (with or without % execution) */ - tc_putp(tparm(s)); /* allow % execution */ + tc_putp(TPARM_0(s)); /* allow % execution */ } @@ -226,7 +226,7 @@ set_attr(int a) for (i = 0; i < 31; i++) { b[i] = (a >> i) & 1; } - tc_putp(tparm(set_attributes, b[1], b[2], b[3], b[4], b[5], + tc_putp(TPARM_9(set_attributes, b[1], b[2], b[3], b[4], b[5], b[6], b[7], b[8], b[9])); }