Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons be more careful when optimizing stretches of ...
details: https://anonhg.NetBSD.org/src/rev/71c5de06a868
branches: trunk
changeset: 958361:71c5de06a868
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Jan 02 03:00:56 2021 +0000
description:
be more careful when optimizing stretches of blanks into erasecols()
now testpat's output is redrawn properly
diffstat:
sys/dev/wscons/wsdisplay_vcons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c3d159c0b756 -r 71c5de06a868 sys/dev/wscons/wsdisplay_vcons.c
--- a/sys/dev/wscons/wsdisplay_vcons.c Sat Jan 02 02:13:42 2021 +0000
+++ b/sys/dev/wscons/wsdisplay_vcons.c Sat Jan 02 03:00:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplay_vcons.c,v 1.44 2020/12/28 00:14:18 macallan Exp $ */
+/* $NetBSD: wsdisplay_vcons.c,v 1.45 2021/01/02 03:00:56 macallan Exp $ */
/*-
* Copyright (c) 2005, 2006 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.44 2020/12/28 00:14:18 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.45 2021/01/02 03:00:56 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -596,7 +596,7 @@
* and flags we don't need to do
* anything here
*/
- if (acmp == cmp)
+ if (acmp == cmp && start == -1)
goto next;
/*
* see if we can optimize things a
Home |
Main Index |
Thread Index |
Old Index