summaryrefslogtreecommitdiffstats
path: root/sys/isa/syscons.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-01-12 20:14:28 +0000
committerache <ache@FreeBSD.org>1995-01-12 20:14:28 +0000
commitce3a630a34281e5af149338dc887e5d0494260f7 (patch)
treecfc1afa59285893d80e4af2b21d816fc79b3f3e4 /sys/isa/syscons.c
parent5302315b17b07d731fd9b7fe725a63c8a186ce9d (diff)
downloadFreeBSD-src-ce3a630a34281e5af149338dc887e5d0494260f7.zip
FreeBSD-src-ce3a630a34281e5af149338dc887e5d0494260f7.tar.gz
Back out cursor wrap (restore original thing)
Submitted by: Bill Paul
Diffstat (limited to 'sys/isa/syscons.c')
-rw-r--r--sys/isa/syscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c
index 34c7630..fda8453 100644
--- a/sys/isa/syscons.c
+++ b/sys/isa/syscons.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: syscons.c,v 1.88 1995/01/03 16:56:05 bde Exp $
+ * $Id: syscons.c,v 1.89 1995/01/12 11:42:44 sos Exp $
*/
#include "sc.h"
@@ -2112,7 +2112,7 @@ ansi_put(scr_stat *scp, u_char c)
/* Print only printables */
*scp->crtat = (scp->term.cur_attr | scr_map[c]);
scp->crtat++;
- if (++scp->xpos > scp->xsize) {
+ if (++scp->xpos >= scp->xsize) {
scp->xpos = 0;
scp->ypos++;
}
OpenPOWER on IntegriCloud