Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2008 14:01:04 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 154257 for review
Message-ID:  <200812071401.mB7E14Hc087346@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=154257

Change 154257 by ed@ed_flippo on 2008/12/07 14:00:44

	Don't hardcode to 1-column characters here.

Affected files ...

.. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#7 edit

Differences ...

==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#7 (text+ko) ====

@@ -740,7 +740,7 @@
 	} else {
 		/* No scrolling needed. */
 		teken_funcs_putchar(t, &t->t_cursor, c, &t->t_curattr);
-		if (t->t_cursor.tp_col == t->t_winsize.tp_col - 1) {
+		if (t->t_cursor.tp_col >= t->t_winsize.tp_col - width) {
 			t->t_stateflags |= TS_WRAPPED;
 		} else {
 			t->t_cursor.tp_col += width;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812071401.mB7E14Hc087346>