X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fsavescreen.c;h=408020a6a958f2673794140f3486ff5d86cbc866;hp=d96089dab4a11bd53c537b99767984ae65c8f36f;hb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d;hpb=acb4184f8f69fddd052a3daa8c8675f4bf8ce369 diff --git a/test/savescreen.c b/test/savescreen.c index d96089da..408020a6 100644 --- a/test/savescreen.c +++ b/test/savescreen.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2007-2017,2018 Free Software Foundation, Inc. * + * Copyright (c) 2007-2018,2019 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: savescreen.c,v 1.54 2018/12/29 17:25:56 tom Exp $ + * $Id: savescreen.c,v 1.55 2019/01/20 15:59:28 tom Exp $ * * Demonstrate save/restore functions from the curses library. * Thomas Dickey - 2007/7/14 @@ -387,7 +387,7 @@ main(int argc, char *argv[]) while (col++ < cols) { int color = (((r * (g_max + 1)) + g) * (b_max + 1) + b + MAX_ANSI); -#if HAVE_INIT_EXTENDED_COLOR +#if USE_EXTENDED_COLOR init_extended_pair(pair, color, color); #else init_pair(pair, color, color);