X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_get_wstr.c;h=7ae3730f99a1582e8c4e16508b38efad88b505eb;hp=49adda5e2a08623bd557c04c82caf37ac8b8f105;hb=95a30fbbfc81d5eb0a76e139c86e0a6505cad871;hpb=772f879d17117c5b766022f28099e341ebea825b;ds=sidebyside diff --git a/test/test_get_wstr.c b/test/test_get_wstr.c index 49adda5e..7ae3730f 100644 --- a/test/test_get_wstr.c +++ b/test/test_get_wstr.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_get_wstr.c,v 1.3 2007/07/21 22:47:21 tom Exp $ + * $Id: test_get_wstr.c,v 1.5 2007/08/11 17:01:43 tom Exp $ * * Author: Thomas E Dickey * @@ -89,9 +89,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;