Stop hardcoding default font size.
This commit is contained in:
parent
5bdabbdbf8
commit
732e8e1632
@ -382,7 +382,7 @@ sc_set_vesa_mode(scr_stat *scp, sc_softc_t *sc, int unit)
|
||||
#if !defined(SC_NO_FONT_LOADING) && defined(SC_DFLT_FONT)
|
||||
font_size = info.vi_cheight;
|
||||
#else
|
||||
font_size = 16;
|
||||
font_size = scp->font_size;
|
||||
#endif
|
||||
if (font_size < 14)
|
||||
font_size = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user