X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fsavescreen.c;h=6cd4c60811f5fc3630cbbe2f88bd3f1ee66da3b8;hp=e48800dbabd13b93471a0bbcc5d16f51f5d729a5;hb=12b49d3c56a6130feb2d39fbe2d6c1bc0838f0fa;hpb=5d8dbcdd9423bf9821db414fd9ec792ccf1f1027;ds=sidebyside diff --git a/test/savescreen.c b/test/savescreen.c index e48800db..6cd4c608 100644 --- a/test/savescreen.c +++ b/test/savescreen.c @@ -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);