diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-09 05:21:51 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-09 05:21:51 +0000 |
commit | bb6f3b23460a831e8d82197ebbe38de1e9281038 (patch) | |
tree | 4fdd4193c8846089aea2b6cb4ec0f62a9774be79 | |
parent | e0f9dbbc135835e83be2cb6534cbf9c9516c327c (diff) |
Fix jump scroll glitch, reported by dim@ and Paul Stoeber.
-rw-r--r-- | sys/dev/wscons/wsemul_vt100.c | 4 |
1 files 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; } |