Module Name: src
Committed By: macallan
Date: Sat Jan 2 03:00:56 UTC 2021
Modified Files:
src/sys/dev/wscons: wsdisplay_vcons.c
Log Message:
be more careful when optimizing stretches of blanks into erasecols()
now testpat's output is redrawn properly
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/wscons/wsdisplay_vcons.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/wscons/wsdisplay_vcons.c
diff -u src/sys/dev/wscons/wsdisplay_vcons.c:1.44 src/sys/dev/wscons/wsdisplay_vcons.c:1.45
--- src/sys/dev/wscons/wsdisplay_vcons.c:1.44 Mon Dec 28 00:14:18 2020
+++ src/sys/dev/wscons/wsdisplay_vcons.c Sat Jan 2 03:00:56 2021
@@ -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 @@ vcons_redraw_screen(struct vcons_screen
* 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