diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 1999-08-28 05:29:39 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 1999-08-28 05:29:39 +0000 |
| commit | 206fbbb74f85b9e610539f64668eae8aa31d1611 (patch) | |
| tree | bd7f73198ab0dda95d29337555b8890112aba076 /sys | |
| parent | 977560c398b2e05fca0430ba7cdf0c42da2eec50 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/pc98/pc98/scvidctl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/pc98/pc98/scvidctl.c b/sys/pc98/pc98/scvidctl.c index a9e0f02949c7..26d50fa951d7 100644 --- a/sys/pc98/pc98/scvidctl.c +++ b/sys/pc98/pc98/scvidctl.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: scvidctl.c,v 1.2 1999/01/18 08:38:08 kato Exp $ + * $Id: scvidctl.c,v 1.2.2.1 1999/02/07 11:22:02 kato Exp $ */ #include "sc.h" @@ -185,8 +185,10 @@ sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode) scp->yoff = 0; scp->xpixel = info.vi_width; scp->ypixel = info.vi_height; - scp->xsize = info.vi_width/8; - scp->ysize = info.vi_height/info.vi_cheight; + /* + * Don't change xsize and ysize; preserve the previous vty + * and history buffers. + */ scp->font_size = FONT_NONE; /* move the mouse cursor at the center of the screen */ sc_move_mouse(scp, scp->xpixel / 2, scp->ypixel / 2); |
