Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Use the internal version of touchline to updat...
details: https://anonhg.NetBSD.org/src/rev/3ab9565a2629
branches: trunk
changeset: 790281:3ab9565a2629
user: blymn <blymn%NetBSD.org@localhost>
date: Tue Oct 01 11:41:14 2013 +0000
description:
Use the internal version of touchline to update the line.
diffstat:
lib/libcurses/getstr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7ed841ed6c28 -r 3ab9565a2629 lib/libcurses/getstr.c
--- a/lib/libcurses/getstr.c Tue Oct 01 11:39:37 2013 +0000
+++ b/lib/libcurses/getstr.c Tue Oct 01 11:41:14 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getstr.c,v 1.22 2012/01/27 15:37:09 christos Exp $ */
+/* $NetBSD: getstr.c,v 1.23 2013/10/01 11:41:14 blymn Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -35,7 +35,7 @@
#if 0
static char sccsid[] = "@(#)getstr.c 8.2 (Berkeley) 5/4/94";
#else
-__RCSID("$NetBSD: getstr.c,v 1.22 2012/01/27 15:37:09 christos Exp $");
+__RCSID("$NetBSD: getstr.c,v 1.23 2013/10/01 11:41:14 blymn Exp $");
#endif
#endif /* not lint */
@@ -178,7 +178,7 @@
win, c, remain);
#endif
*str = c;
- touchline(win, win->cury, 1);
+ __touchline(win, win->cury, 0, (int) win->maxx - 1);
if (c == ec || c == KEY_BACKSPACE || c == KEY_LEFT) {
*str = '\0';
if (str != ostr) {
Home |
Main Index |
Thread Index |
Old Index