Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses mvgetnstr should have a length argument as the...



details:   https://anonhg.NetBSD.org/src/rev/bf0a9ad6d94e
branches:  trunk
changeset: 338788:bf0a9ad6d94e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 08 12:38:57 2015 +0000

description:
mvgetnstr should have a length argument as the name implies.

diffstat:

 lib/libcurses/curses.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3374703f2e4b -r bf0a9ad6d94e lib/libcurses/curses.h
--- a/lib/libcurses/curses.h    Mon Jun 08 12:18:04 2015 +0000
+++ b/lib/libcurses/curses.h    Mon Jun 08 12:38:57 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses.h,v 1.106 2013/10/16 19:59:29 roy Exp $ */
+/*     $NetBSD: curses.h,v 1.107 2015/06/08 12:38:57 joerg Exp $       */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -480,7 +480,7 @@
 #define        mvaddstr(y, x, s)               mvwaddstr(stdscr, y, x, s)
 #define        mvdelch(y, x)                   mvwdelch(stdscr, y, x)
 #define        mvgetch(y, x)                   mvwgetch(stdscr, y, x)
-#define        mvgetnstr(y, x, s)              mvwgetnstr(stdscr, y, x, s, n)
+#define        mvgetnstr(y, x, s, n)           mvwgetnstr(stdscr, y, x, s, n)
 #define        mvgetstr(y, x, s)               mvwgetstr(stdscr, y, x, s)
 #define        mvinch(y, x)                    mvwinch(stdscr, y, x)
 #define        mvinchnstr(y, x, c, n)          mvwinchnstr(stdscr, y, x, c, n)



Home | Main Index | Thread Index | Old Index