Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit Fix mis-applied change in previous. Don't incre...
details: https://anonhg.NetBSD.org/src/rev/1b23b00184a8
branches: trunk
changeset: 447206:1b23b00184a8
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Jan 04 03:03:44 2019 +0000
description:
Fix mis-applied change in previous. Don't increment r_oldcv twice.
PR lib/53803
diffstat:
lib/libedit/refresh.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 0eb0604e5b7e -r 1b23b00184a8 lib/libedit/refresh.c
--- a/lib/libedit/refresh.c Thu Jan 03 23:39:47 2019 +0000
+++ b/lib/libedit/refresh.c Fri Jan 04 03:03:44 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.55 2018/10/23 16:49:13 christos Exp $ */
+/* $NetBSD: refresh.c,v 1.56 2019/01/04 03:03:44 uwe Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: refresh.c,v 1.55 2018/10/23 16:49:13 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.56 2019/01/04 03:03:44 uwe Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -1123,7 +1123,6 @@
el->el_display[i - 1] = lastline;
} else {
el->el_cursor.v++;
- el->el_refresh.r_oldcv++;
lastline = el->el_display[++el->el_refresh.r_oldcv];
}
re__copy_and_pad(lastline, L"", (size_t)el->el_terminal.t_size.h);
Home |
Main Index |
Thread Index |
Old Index