X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_getstr.c;h=c8a8f3b10aa3bfe38cfc9fd18a1cc0b733a25a37;hp=2af10091d48abc22d1d2e9375775d5b15829397a;hb=25358bc041a5566ce2de4c9c792837e552b35671;hpb=772f879d17117c5b766022f28099e341ebea825b diff --git a/test/test_getstr.c b/test/test_getstr.c index 2af10091..c8a8f3b1 100644 --- a/test/test_getstr.c +++ b/test/test_getstr.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_getstr.c,v 1.5 2007/07/21 22:22:55 tom Exp $ + * $Id: test_getstr.c,v 1.7 2007/08/11 16:56:25 tom Exp $ * * Author: Thomas E Dickey * @@ -87,9 +87,9 @@ MovePrompt(WINDOW *txtwin, int limit, int y, int x) } static int -ShowFlavor(WINDOW *strwin, WINDOW *txtwin, Flavors flavor, int limit) +ShowFlavor(WINDOW *strwin, WINDOW *txtwin, int flavor, int limit) { - char *name = "?"; + const char *name = "?"; bool limited = FALSE; bool wins = (txtwin != stdscr); int result;