]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/savescreen.c
ncurses 6.0 - patch 20170930
[ncurses.git] / test / savescreen.c
index e48800dbabd13b93471a0bbcc5d16f51f5d729a5..6cd4c60811f5fc3630cbbe2f88bd3f1ee66da3b8 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: savescreen.c,v 1.34 2017/09/04 15:01:45 tom Exp $
+ * $Id: savescreen.c,v 1.35 2017/09/29 23:42:22 tom Exp $
  *
  * Demonstrate save/restore functions from the curses library.
  * Thomas Dickey - 2007/7/14
@@ -475,7 +475,7 @@ main(int argc, char *argv[])
                continue;
            }
            if (!done) {
-               attr_t attr = (A_REVERSE | (attr_t) COLOR_PAIR(color * COLORS));
+               chtype attr = (A_REVERSE | (chtype) COLOR_PAIR(color * COLORS));
                chtype ch2 = (altchars ? MyMarker : '#');
                move(y, x);
                AddCh(ch2 | attr);