summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-06 00:14:42 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-06 00:14:42 +0000
commit4950aa204def136af7702e1fb114dfd0986281cd (patch)
treee1f12426c5cde66fdfff007e2006a17ff139d252
parent7f337d13736b38766d1d244cc44b6f4d8910760e (diff)
Use the font ROM size, instead of hard coding one.
-rw-r--r--sys/arch/hp300/dev/itevar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/itevar.h b/sys/arch/hp300/dev/itevar.h
index 7a3c265e33b..b42ba47ebfe 100644
--- a/sys/arch/hp300/dev/itevar.h
+++ b/sys/arch/hp300/dev/itevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: itevar.h,v 1.7 1997/02/05 14:22:18 downsj Exp $ */
+/* $OpenBSD: itevar.h,v 1.8 1997/02/06 00:14:41 downsj Exp $ */
/* $NetBSD: itevar.h,v 1.13 1997/01/30 09:18:57 thorpej Exp $ */
/*
@@ -190,7 +190,7 @@ struct ite_softc {
#define TABSIZE 8
#define TABEND(ip) ((ip)->tty ? ((ip)->tty->t_winsize.ws_col - TABSIZE) \
- : (80 - TABSIZE))
+ : ((ip)->cols - TABSIZE))
#ifdef _KERNEL
extern struct ite_data ite_cn; /* ite_data for console device */