Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/slave tests/libcurses: fix argument hand...



details:   https://anonhg.NetBSD.org/src/rev/3bda998c6936
branches:  trunk
changeset: 379676:3bda998c6936
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jun 13 21:54:51 2021 +0000

description:
tests/libcurses: fix argument handling for mvwget_wch

There's currently no test for that function, therefore no functional
change.

diffstat:

 tests/lib/libcurses/slave/curses_commands.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r aab0c068e5a8 -r 3bda998c6936 tests/lib/libcurses/slave/curses_commands.c
--- a/tests/lib/libcurses/slave/curses_commands.c       Sun Jun 13 19:50:18 2021 +0000
+++ b/tests/lib/libcurses/slave/curses_commands.c       Sun Jun 13 21:54:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses_commands.c,v 1.28 2021/06/13 19:17:53 rillig Exp $      */
+/*     $NetBSD: curses_commands.c,v 1.29 2021/06/13 21:54:51 rillig Exp $      */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -4084,7 +4084,7 @@ cmd_mvwget_wch(int nargs, char **args)
 {
        wchar_t ch;
 
-       ARGC(1);        /* FIXME: 3 */
+       ARGC(3);
        ARG_WINDOW(win);
        ARG_INT(y);
        ARG_INT(x);



Home | Main Index | Thread Index | Old Index