]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - tack/charset.c
ncurses 5.6 - patch 20061223
[ncurses.git] / tack / charset.c
index f1a066e23e616ea40ee4ff8a20775c762d315cbb..9783792aa3dd235ad7d615f4731caf107b4e511f 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <tack.h>
 
 
 #include <tack.h>
 
-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.
 
 /*
        Menu definitions for alternate character set and SGR tests.
@@ -159,7 +159,7 @@ charset_status(
        ptextln(temp);
 
        put_str("This line s");
        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]);
        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) */
 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;
        }
        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]));
 }
 
                        b[6], b[7], b[8], b[9]));
 }