Module Name: src
Committed By: uwe
Date: Wed Jul 1 02:14:41 UTC 2020
Modified Files:
src/lib/libcurses: line.c
Log Message:
Oops. Fix y/x typo in the previous whline() fix for !HAVE_WCHAR.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libcurses/line.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libcurses/line.c
diff -u src/lib/libcurses/line.c:1.14 src/lib/libcurses/line.c:1.15
--- src/lib/libcurses/line.c:1.14 Tue Jun 30 21:27:18 2020
+++ src/lib/libcurses/line.c Wed Jul 1 02:14:41 2020
@@ -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 @@ whline(WINDOW *win, chtype ch, int count
int ocury, ocurx, n, i;
n = min(count, win->maxx - win->curx);
- ocury = win->curx;
+ ocury = win->cury;
ocurx = win->curx;
if (!(ch & __CHARTEXT))