]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_get_wstr.c
ncurses 5.7 - patch 20090314
[ncurses.git] / test / test_get_wstr.c
index 49adda5e2a08623bd557c04c82caf37ac8b8f105..7ae3730f99a1582e8c4e16508b38efad88b505eb 100644 (file)
@@ -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;