X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fechochar.c;h=c9ac29ade8ce2e99d074dbd7faf5260838993f45;hp=8cb0833aa023b1e158dfb41b62ea2d5e143489e5;hb=acc28c6418f43cbf15187f2f1fd9a562d5d96535;hpb=73b54c0812e4b8dfddcf87f59c7488bb3c10e10d diff --git a/test/echochar.c b/test/echochar.c index 8cb0833a..c9ac29ad 100644 --- a/test/echochar.c +++ b/test/echochar.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006-2010,2012 Free Software Foundation, Inc. * + * Copyright (c) 2006-2012,2014 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: echochar.c,v 1.9 2012/06/09 20:30:32 tom Exp $ + * $Id: echochar.c,v 1.10 2014/08/09 22:35:51 tom Exp $ * * Demonstrate the echochar function (compare to dots.c). * Thomas Dickey - 2006/11/4 @@ -74,7 +74,7 @@ set_color(char *my_pairs, int fg, int bg) (short) fg, (short) bg); } - attron((attr_t) COLOR_PAIR(pair)); + attron(COLOR_PAIR(pair)); } int