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/4c6d164b38e8
branches:  trunk
changeset: 836171:4c6d164b38e8
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 72238433beda -r 4c6d164b38e8 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