From bb6f3b23460a831e8d82197ebbe38de1e9281038 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 9 Oct 2006 05:21:51 +0000 Subject: Fix jump scroll glitch, reported by dim@ and Paul Stoeber. --- sys/dev/wscons/wsemul_vt100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/wscons/wsemul_vt100.c b/sys/dev/wscons/wsemul_vt100.c index 09d72b5f1ee..56c69fef605 100644 --- a/sys/dev/wscons/wsemul_vt100.c +++ b/sys/dev/wscons/wsemul_vt100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsemul_vt100.c,v 1.13 2006/08/17 06:27:04 miod Exp $ */ +/* $OpenBSD: wsemul_vt100.c,v 1.14 2006/10/09 05:21:50 miod Exp $ */ /* $NetBSD: wsemul_vt100.c,v 1.13 2000/04/28 21:56:16 mycroft Exp $ */ /* @@ -1015,7 +1015,7 @@ wsemul_vt100_output(cookie, data, count, kernel) } break; default: - if (++pos >= NCOLS) { + if (pos++ >= NCOLS) { pos = 0; curchar = ASCII_LF; } -- cgit v1.2.3