PERFORCE change 154259 for review
Ed Schouten
ed at FreeBSD.org
Sun Dec 7 07:34:40 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=154259
Change 154259 by ed at ed_mekker on 2008/12/07 15:34:28
Argh! How hard is it to do it right? It seems we should not do
wrapping on tabs after all.
Affected files ...
.. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#8 edit
Differences ...
==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#8 (text+ko) ====
@@ -275,15 +275,13 @@
do {
/* Stop when we've reached the end of the line. */
- if ((t->t_stateflags & TS_AUTOWRAP) == 0 &&
- t->t_cursor.tp_col == t->t_winsize.tp_col - 1)
+ if (t->t_cursor.tp_col == t->t_winsize.tp_col - 1)
break;
teken_subr_regular_character(t, ' ');
/* Tab marker set. */
- if (t->t_stateflags & TS_WRAPPED ||
- teken_tab_isset(t, t->t_cursor.tp_col))
+ if (teken_tab_isset(t, t->t_cursor.tp_col))
ntabs--;
} while (ntabs > 0);
}
More information about the p4-projects
mailing list