X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_inwstr.c;h=3d2656f3aeae0909952bc771300ca3f0abcc75a3;hp=fe2b645c958119a835d52d45d5afd5e75dbc911c;hb=aefc1659d732acf7e62c0c78a443d6d8352a3c6e;hpb=772f879d17117c5b766022f28099e341ebea825b diff --git a/test/test_inwstr.c b/test/test_inwstr.c index fe2b645c..3d2656f3 100644 --- a/test/test_inwstr.c +++ b/test/test_inwstr.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2007 Free Software Foundation, Inc. * + * Copyright (c) 2007,2010 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 * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_inwstr.c,v 1.3 2007/07/21 22:47:42 tom Exp $ + * $Id: test_inwstr.c,v 1.4 2010/05/01 19:13:46 tom Exp $ * * Author: Thomas E Dickey * @@ -58,7 +58,7 @@ Quit(int ch) static void show_1st(WINDOW *win, int line, wchar_t *buffer) { - mvwaddwstr(win, line, 5, buffer); + (void) mvwaddwstr(win, line, 5, buffer); } static void @@ -175,7 +175,7 @@ test_inchs(int level, char **argv, WINDOW *chrwin, WINDOW *strwin) break; } - mvwprintw(chrwin, 0, 0, "line:"); + MvWPrintw(chrwin, 0, 0, "line:"); wclrtoeol(chrwin); if (txtwin != stdscr) { @@ -199,7 +199,7 @@ test_inchs(int level, char **argv, WINDOW *chrwin, WINDOW *strwin) } wnoutrefresh(chrwin); - mvwprintw(strwin, 0, 0, "%4d:", limit); + MvWPrintw(strwin, 0, 0, "%4d:", limit); wclrtobot(strwin); if (txtwin != stdscr) {