Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Oops. Fix y/x typo in the previous whline() f...
details: https://anonhg.NetBSD.org/src/rev/22a709655b9e
branches: trunk
changeset: 935371:22a709655b9e
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Jul 01 02:14:41 2020 +0000
description:
Oops. Fix y/x typo in the previous whline() fix for !HAVE_WCHAR.
diffstat:
lib/libcurses/line.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fc192b87ea74 -r 22a709655b9e lib/libcurses/line.c
--- a/lib/libcurses/line.c Wed Jul 01 00:42:13 2020 +0000
+++ b/lib/libcurses/line.c Wed Jul 01 02:14:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: line.c,v 1.14 2020/06/30 21:27:18 uwe Exp $ */
+/* $NetBSD: line.c,v 1.15 2020/07/01 02:14:41 uwe Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: line.c,v 1.14 2020/06/30 21:27:18 uwe Exp $");
+__RCSID("$NetBSD: line.c,v 1.15 2020/07/01 02:14:41 uwe Exp $");
#endif /* not lint */
#include <string.h>
@@ -90,7 +90,7 @@
int ocury, ocurx, n, i;
n = min(count, win->maxx - win->curx);
- ocury = win->curx;
+ ocury = win->cury;
ocurx = win->curx;
if (!(ch & __CHARTEXT))
Home |
Main Index |
Thread Index |
Old Index