X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fncurses.c;h=f6090f43823455ddc627400b6b5874dc561bbaf9;hp=c1790c8924901d0e072cfd69aaaf292b4ba10eed;hb=7eb4be765b131f00ac3da7ce8cfd3bc6759d26c5;hpb=f70db18a0c3c6a828d8a5999be37239f01c9d98a;ds=sidebyside diff --git a/test/ncurses.c b/test/ncurses.c index c1790c89..f6090f43 100644 --- a/test/ncurses.c +++ b/test/ncurses.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2007 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 * @@ -40,7 +40,7 @@ AUTHOR Author: Eric S. Raymond 1993 Thomas E. Dickey (beginning revision 1.27 in 1996). -$Id: ncurses.c,v 1.280 2006/12/10 00:13:15 tom Exp $ +$Id: ncurses.c,v 1.281 2007/01/06 23:32:00 tom Exp $ ***************************************************************************/ @@ -3124,7 +3124,7 @@ show_utf8_chars(attr_t attr, short pair) /* *INDENT-OFF* */ static struct { attr_t attr; - char *name; + const char *name; } attrs_to_cycle[] = { { A_NORMAL, "normal" }, { A_BOLD, "bold" },