aboutsummaryrefslogtreecommitdiff
path: root/sys/teken
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-10-07 12:21:50 +0000
committerEd Schouten <ed@FreeBSD.org>2011-10-07 12:21:50 +0000
commitd8554e5c7767cdad8a2210ccdab135abc561c57c (patch)
tree3888ab79166c6daf76c141a1c415e5040c7d1f47 /sys/teken
parent25e33e625f35b0a23c07b34063aecbf30733b399 (diff)
Notes
Diffstat (limited to 'sys/teken')
-rw-r--r--sys/teken/teken_subr.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/teken/teken_subr.h b/sys/teken/teken_subr.h
index f4c78f4ede353..af70a00d041c5 100644
--- a/sys/teken/teken_subr.h
+++ b/sys/teken/teken_subr.h
@@ -595,20 +595,7 @@ static void
teken_subr_horizontal_tab(teken_t *t)
{
- if (t->t_stateflags & TS_CONS25) {
- teken_subr_cursor_forward_tabulation(t, 1);
- } else {
- teken_rect_t tr;
-
- tr.tr_begin = t->t_cursor;
- teken_subr_cursor_forward_tabulation(t, 1);
- tr.tr_end.tp_row = tr.tr_begin.tp_row + 1;
- tr.tr_end.tp_col = t->t_cursor.tp_col;
-
- /* Blank region that we skipped. */
- if (tr.tr_end.tp_col > tr.tr_begin.tp_col)
- teken_funcs_fill(t, &tr, BLANK, &t->t_curattr);
- }
+ teken_subr_cursor_forward_tabulation(t, 1);
}
static void