Oops. Fix y/x typo in the previous whline() fix for !HAVE_WCHAR.

This commit is contained in:
uwe 2020-07-01 02:14:41 +00:00
parent 8747f41571
commit 4eb5fad78b
1 changed files with 3 additions and 3 deletions

View File

@ -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))