Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Fix addchnstr() macro in curses.h
details: https://anonhg.NetBSD.org/src/rev/7c3b69e479a7
branches: trunk
changeset: 433735:7c3b69e479a7
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Sep 30 10:08:13 2018 +0000
description:
Fix addchnstr() macro in curses.h
Add a missing argument 'n'.
diffstat:
lib/libcurses/curses.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 00f13609f35e -r 7c3b69e479a7 lib/libcurses/curses.h
--- a/lib/libcurses/curses.h Sun Sep 30 10:00:24 2018 +0000
+++ b/lib/libcurses/curses.h Sun Sep 30 10:08:13 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: curses.h,v 1.121 2017/01/24 17:27:30 roy Exp $ */
+/* $NetBSD: curses.h,v 1.122 2018/09/30 10:08:13 kamil Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -431,7 +431,7 @@
/* Standard screen pseudo functions. */
#define addbytes(s, n) __waddbytes(stdscr, s, n, 0)
#define addch(ch) waddch(stdscr, ch)
-#define addchnstr(s) waddchnstr(stdscr, s, n)
+#define addchnstr(s, n) waddchnstr(stdscr, s, n)
#define addchstr(s) waddchnstr(stdscr, s, -1)
#define addnstr(s, n) waddnstr(stdscr, s, n)
#define addstr(s) waddnstr(stdscr, s, -1)
Home |
Main Index |
Thread Index |
Old Index