diff options
Diffstat (limited to 'sys/dev/syscons/scvidctl.c')
-rw-r--r-- | sys/dev/syscons/scvidctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 3c03ee5..686a3c4 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -273,7 +273,7 @@ sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode) scp->xpixel = info.vi_width; scp->ypixel = info.vi_height; scp->font = NULL; - scp->font_size = FONT_NONE; + scp->font_size = 0; #ifndef SC_NO_SYSMOUSE /* move the mouse cursor at the center of the screen */ sc_mouse_move(scp, scp->xpixel / 2, scp->ypixel / 2); @@ -316,7 +316,7 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, return ENODEV; /* this shouldn't happen */ /* adjust argument values */ - if ((fontsize <= 0) || (fontsize == FONT_NONE)) + if (fontsize <= 0) fontsize = info.vi_cheight; if (fontsize < 14) { fontsize = 8; |