Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/dev fix bug hpcfb_redraw()'s argument all=1.
details: https://anonhg.NetBSD.org/src/rev/5d70d76e27b2
branches: trunk
changeset: 500902:5d70d76e27b2
user: sato <sato%NetBSD.org@localhost>
date: Wed Dec 20 08:04:27 2000 +0000
description:
fix bug hpcfb_redraw()'s argument all=1.
diffstat:
sys/arch/hpcmips/dev/hpcfb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 34bac0ffcf24 -r 5d70d76e27b2 sys/arch/hpcmips/dev/hpcfb.c
--- a/sys/arch/hpcmips/dev/hpcfb.c Wed Dec 20 06:24:37 2000 +0000
+++ b/sys/arch/hpcmips/dev/hpcfb.c Wed Dec 20 08:04:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpcfb.c,v 1.20 2000/12/12 22:41:02 sato Exp $ */
+/* $NetBSD: hpcfb.c,v 1.21 2000/12/20 08:04:27 sato Exp $ */
/*-
* Copyright (c) 1999
@@ -46,7 +46,7 @@
static const char _copyright[] __attribute__ ((unused)) =
"Copyright (c) 1999 Shin Takemura. All rights reserved.";
static const char _rcsid[] __attribute__ ((unused)) =
- "$Id: hpcfb.c,v 1.20 2000/12/12 22:41:02 sato Exp $";
+ "$Id: hpcfb.c,v 1.21 2000/12/20 08:04:27 sato Exp $";
#include <sys/param.h>
#include <sys/systm.h>
@@ -1218,7 +1218,7 @@
rasops_emul.putchar(ri, row + i, j, svc->c, svc->attr);
}
if (all)
- cols = dc->dc_cols;
+ cols = dc->dc_cols-1;
else
cols = vscn[row+i].spacecol;
for (; j <= cols; j++) {
Home |
Main Index |
Thread Index |
Old Index