Merged from sys/dev/syscons/syscons.c revision 1.383
This commit is contained in:
parent
3130a1c7e3
commit
d3eae2405a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user