X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_addwstr.c;h=92334aee3b16b6b5b93bdc7b58936842389bf846;hp=5a45a9c1a750dd2a0b7ccf10f287c6d6512d639e;hb=aa4fd77b765d528af776d42ea6e98a7405e18b40;hpb=96d6b16de0d487e5d3aed0302a179dbce11b5d96;ds=sidebyside diff --git a/test/test_addwstr.c b/test/test_addwstr.c index 5a45a9c1..92334aee 100644 --- a/test/test_addwstr.c +++ b/test/test_addwstr.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_addwstr.c,v 1.4 2010/11/13 21:13:53 tom Exp $ + * $Id: test_addwstr.c,v 1.6 2010/12/12 00:18:00 tom Exp $ * * Demonstrate the waddwstr() and wadd_wch functions. * Thomas Dickey - 2009/9/12 @@ -79,7 +79,7 @@ static int n_opt = -1; static void legend(WINDOW *win, int level, Options state, wchar_t *buffer, int length) { - NCURSES_CONST char *showstate; + const char *showstate; switch (state) { default: @@ -101,7 +101,7 @@ legend(WINDOW *win, int level, Options state, wchar_t *buffer, int length) wprintw(win, "The Strings/Chars displays should match. Enter any characters, except:\n"); wprintw(win, - "down-arrow or ^N to repeat on next line, 'w' for inner window, 'q' to exit.\n"); + "down-arrow or ^N to repeat on next line, ^W for inner window, ESC to exit.\n"); wclrtoeol(win); wprintw(win, "Level %d,%s inserted %d characters <", level, showstate, length);