diff options
| author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-09-06 20:38:39 +0000 |
|---|---|---|
| committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-09-06 20:38:39 +0000 |
| commit | 4506b763e03d66691555a3a5ce165bf0ee86cd3b (patch) | |
| tree | edf08650286afe105b8023f7931bde4a46076bc3 /sys/dev/syscons | |
| parent | ba5b359aef106eee2d7ccdb0feefadfe8a8156f5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/scvidctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 62d46c27530f..dff5d8923a18 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -145,6 +145,8 @@ sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, int xsize, int ysize, return ENODEV; /* adjust argument values */ + if (fontwidth <= 0) + fontwidth = info.vi_cwidth; if (fontsize <= 0) fontsize = info.vi_cheight; if (fontsize < 14) { |
