diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/tem_safe.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/usr/src/uts/common/io/tem_safe.c b/usr/src/uts/common/io/tem_safe.c index 60ff789fb3..6e01da8ffb 100644 --- a/usr/src/uts/common/io/tem_safe.c +++ b/usr/src/uts/common/io/tem_safe.c @@ -579,14 +579,14 @@ tem_safe_selgraph(struct tem_vt_state *tem) } break; - case 30: /* black (grey) foreground */ - case 31: /* red (light red) foreground */ - case 32: /* green (light green) foreground */ - case 33: /* brown (yellow) foreground */ - case 34: /* blue (light blue) foreground */ - case 35: /* magenta (light magenta) foreground */ - case 36: /* cyan (light cyan) foreground */ - case 37: /* white (bright white) foreground */ + case 30: /* black (grey) foreground */ + case 31: /* red (light red) foreground */ + case 32: /* green (light green) foreground */ + case 33: /* brown (yellow) foreground */ + case 34: /* blue (light blue) foreground */ + case 35: /* magenta (light magenta) foreground */ + case 36: /* cyan (light cyan) foreground */ + case 37: /* white (bright white) foreground */ tem->tvs_fg_color = param - 30; tem->tvs_flags &= ~TEM_ATTR_BRIGHT_FG; break; @@ -602,14 +602,14 @@ tem_safe_selgraph(struct tem_vt_state *tem) tem->tvs_flags &= ~TEM_ATTR_BRIGHT_FG; break; - case 40: /* black (grey) background */ - case 41: /* red (light red) background */ - case 42: /* green (light green) background */ - case 43: /* brown (yellow) background */ - case 44: /* blue (light blue) background */ - case 45: /* magenta (light magenta) background */ - case 46: /* cyan (light cyan) background */ - case 47: /* white (bright white) background */ + case 40: /* black (grey) background */ + case 41: /* red (light red) background */ + case 42: /* green (light green) background */ + case 43: /* brown (yellow) background */ + case 44: /* blue (light blue) background */ + case 45: /* magenta (light magenta) background */ + case 46: /* cyan (light cyan) background */ + case 47: /* white (bright white) background */ tem->tvs_bg_color = param - 40; tem->tvs_flags &= ~TEM_ATTR_BRIGHT_BG; break; @@ -1170,7 +1170,7 @@ tem_safe_parse(struct tem_vt_state *tem, uchar_t ch, tem->tvs_r_cursor.col, credp, called_from); tem->tvs_state = A_STATE_START; return; - case 'p': /* sunbow */ + case 'p': /* sunbow */ tem_safe_send_data(tem, credp, called_from); /* * Don't set anything if we are @@ -1191,7 +1191,7 @@ tem_safe_parse(struct tem_vt_state *tem, uchar_t ch, tem_safe_cls(tem, credp, called_from); tem->tvs_state = A_STATE_START; return; - case 'q': /* sunwob */ + case 'q': /* sunwob */ tem_safe_send_data(tem, credp, called_from); /* * Don't set anything if we are @@ -1692,8 +1692,8 @@ tem_safe_pix_clear_entire_screen(struct tem_vt_state *tem, cred_t *credp, nrows = (tems.ts_p_dimension.height + (height - 1))/ height; ncols = (tems.ts_p_dimension.width + (width - 1))/ width; - tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0, - B_FALSE, credp, called_from); + tem_safe_pix_cls_range(tem, 0, nrows, tems.ts_p_offset.y, 0, ncols, + tems.ts_p_offset.x, B_FALSE, credp, called_from); /* * Since the whole screen is cleared, we don't need |