PERFORCE change 154257 for review
Ed Schouten
ed at FreeBSD.org
Sun Dec 7 06:01:05 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=154257
Change 154257 by ed at 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;
More information about the p4-projects
mailing list