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/fda2cfd813fd
branches: trunk
changeset: 973441:fda2cfd813fd
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 7b8bc2db622d -r fda2cfd813fd 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