Stop hardcoding default font size.

This commit is contained in:
Jung-uk Kim 2010-11-30 17:32:28 +00:00
parent 5bdabbdbf8
commit 732e8e1632

View File

@ -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;