ncurses 6.2 - patch 20200531
[ncurses.git] / ncurses / tty / lib_vidattr.c
index c752919bf66109130568b555a9cf94b142ede579..15e7397d5dbb46b4f6e89ddbb67468411f18fb84 100644 (file)
@@ -70,7 +70,7 @@
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_vidattr.c,v 1.76 2020/02/02 23:34:34 tom Exp $")
+MODULE_ID("$Id: lib_vidattr.c,v 1.78 2020/05/27 23:56:32 tom Exp $")
 
 #define doPut(mode) \
        TPUTS_TRACE(#mode); \
@@ -258,16 +258,16 @@ NCURSES_SP_NAME(vidputs) (NCURSES_SP_DCLx
        if (turn_on || turn_off) {
            TPUTS_TRACE("set_attributes");
            NCURSES_SP_NAME(tputs) (NCURSES_SP_ARGx
-                                   tparm(set_attributes,
-                                         (newmode & A_STANDOUT) != 0,
-                                         (newmode & A_UNDERLINE) != 0,
-                                         (newmode & A_REVERSE) != 0,
-                                         (newmode & A_BLINK) != 0,
-                                         (newmode & A_DIM) != 0,
-                                         (newmode & A_BOLD) != 0,
-                                         (newmode & A_INVIS) != 0,
-                                         (newmode & A_PROTECT) != 0,
-                                         (newmode & A_ALTCHARSET) != 0),
+                                   TIPARM_9(set_attributes,
+                                            (newmode & A_STANDOUT) != 0,
+                                            (newmode & A_UNDERLINE) != 0,
+                                            (newmode & A_REVERSE) != 0,
+                                            (newmode & A_BLINK) != 0,
+                                            (newmode & A_DIM) != 0,
+                                            (newmode & A_BOLD) != 0,
+                                            (newmode & A_INVIS) != 0,
+                                            (newmode & A_PROTECT) != 0,
+                                            (newmode & A_ALTCHARSET) != 0),
                                    1, outc);
            PreviousAttr &= ALL_BUT_COLOR;
        }