diff options
| author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2000-01-20 13:21:47 +0000 |
|---|---|---|
| committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 2000-01-20 13:21:47 +0000 |
| commit | acdf858c9b85df29f3deb661cedf06e68c6ea1bd (patch) | |
| tree | 5d18ddde1f88ed422f3b256adbe59360126f85a9 /sys/dev/syscons/scvidctl.c | |
| parent | 3f681c0c4100ee9299eb45389ce5564c5c88307d (diff) | |
Notes
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 3c03ee573f86..686a3c4f8f83 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; |
