summaryrefslogtreecommitdiff
path: root/lib/libcurses/getstr.c
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2007-05-28 15:01:53 +0000
committerblymn <blymn@NetBSD.org>2007-05-28 15:01:53 +0000
commite124de36d8a3bb2fd90b77ec25eb7736f29ee44d (patch)
tree0dac708fd51eee66b5194f8e69d6fe165e953031 /lib/libcurses/getstr.c
parent599840187d9b53fe3353daa7f2892b387a1c2f29 (diff)
Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
Diffstat (limited to 'lib/libcurses/getstr.c')
-rw-r--r--lib/libcurses/getstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/getstr.c b/lib/libcurses/getstr.c
index 6817475ddea..291238e20d1 100644
--- a/lib/libcurses/getstr.c
+++ b/lib/libcurses/getstr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getstr.c,v 1.19 2007/01/21 13:25:36 jdc Exp $ */
+/* $NetBSD: getstr.c,v 1.20 2007/05/28 15:01:55 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.19 2007/01/21 13:25:36 jdc Exp $");
+__RCSID("$NetBSD: getstr.c,v 1.20 2007/05/28 15:01:55 blymn Exp $");
#endif
#endif /* not lint */
@@ -188,7 +188,7 @@ __wgetnstr(WINDOW *win, char *str, int n)
}
if (c == KEY_BACKSPACE || c == KEY_LEFT) {
/* getch() displays the key sequence */
- mvwaddch(win, win->cury, win->curx - 1,
+ mvwaddch(win, win->cury, win->curx - 1,
' ');
mvwaddch(win, win->cury, win->curx - 2,
' ');