diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-04-25 13:25:36 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-04-25 13:25:36 +0000 |
| commit | 5497ee0acfda572a343a58eac24b6ef0d249916e (patch) | |
| tree | c524eeb7d81b77371833c8e2df496ac1dd1db32d | |
| parent | ff557fa1a9e63570784933015b636883923d67c7 (diff) | |
Notes
| -rw-r--r-- | sys/pc98/pc98/syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 9767443596a5..2a64d4186899 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -2924,14 +2924,14 @@ init_scp(sc_softc_t *sc, int vty, scr_stat *scp) scp->status |= GRAPHICS_MODE; scp->xpixel = info.vi_width; scp->ypixel = info.vi_height; - scp->xsize = info.vi_width/8; + scp->xsize = info.vi_width/info.vi_cwidth; scp->ysize = info.vi_height/info.vi_cheight; scp->font_size = 0; scp->font = NULL; } else { scp->xsize = info.vi_width; scp->ysize = info.vi_height; - scp->xpixel = scp->xsize*8; + scp->xpixel = scp->xsize*info.vi_cwidth; scp->ypixel = scp->ysize*info.vi_cheight; if (info.vi_cheight < 14) { scp->font_size = 8; |
