summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/wscons
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-28 13:54:23 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-28 13:54:23 +0000
commit222a949903ef680aa8ce29f7e71b94a9f89c0219 (patch)
treec9cdad4c9aefb3350f695d96f7be56a8d13c65a0 /sys/arch/alpha/wscons
parent8a67fc2d75a7a3dc919f3a88e84369e77b510cbc (diff)
insert char (for real)
Diffstat (limited to 'sys/arch/alpha/wscons')
-rw-r--r--sys/arch/alpha/wscons/wscons_emul.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/alpha/wscons/wscons_emul.c b/sys/arch/alpha/wscons/wscons_emul.c
index ad208c90700..e58942ca355 100644
--- a/sys/arch/alpha/wscons/wscons_emul.c
+++ b/sys/arch/alpha/wscons/wscons_emul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_emul.c,v 1.7 1997/07/27 14:57:31 kstailey Exp $ */
+/* $OpenBSD: wscons_emul.c,v 1.8 1997/07/28 13:54:22 kstailey Exp $ */
/* $NetBSD: wscons_emul.c,v 1.7 1996/11/19 05:23:13 cgd Exp $ */
/*
@@ -356,7 +356,8 @@ wscons_emul_docontrol(we, c)
copy_src = we->ac_ccol;
copy_dst = we->ac_ccol + n;
- copy_ncols = we->ac_ncol - copy_src - 1;
+ copy_ncols = we->ac_ncol - copy_dst;
+
if (copy_ncols > 0)
(*we->ac_ef->wef_copycols)(we->ac_efa,
we->ac_crow, copy_src, copy_dst,
@@ -364,10 +365,11 @@ wscons_emul_docontrol(we, c)
(*we->ac_ef->wef_erasecols)(we->ac_efa,
we->ac_crow, we->ac_ccol,
- copy_ncols - we->ac_ccol);
+ copy_dst - we->ac_ccol);
}
break;
case 'm': /* video attributes */
+ /* 7 for so; 0 for se */
break;
}
}