aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/vidcontrol
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1998-09-24 01:36:36 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1998-09-24 01:36:36 +0000
commit028a80e4a8428276a8496e8aad3bae5caade2b47 (patch)
tree2d9059d802b6f919ad2fbb5839e7d00fad201d98 /usr.sbin/vidcontrol
parentfdfedb52f56672e396141138dacf51f30728b224 (diff)
downloadsrc-028a80e4a8428276a8496e8aad3bae5caade2b47.tar.gz
src-028a80e4a8428276a8496e8aad3bae5caade2b47.zip
Don't assume that we have extended modes on all platforms.
Notes
Notes: svn path=/head/; revision=39611
Diffstat (limited to 'usr.sbin/vidcontrol')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c
index 1d8d4b24db02..1553c3460634 100644
--- a/usr.sbin/vidcontrol/vidcontrol.c
+++ b/usr.sbin/vidcontrol/vidcontrol.c
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: vidcontrol.c,v 1.21 1998/09/16 13:55:26 abial Exp $";
+ "$Id: vidcontrol.c,v 1.22 1998/09/23 10:00:15 yokota Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -262,6 +262,7 @@ video_mode(int argc, char **argv, int *index)
char *name;
unsigned long mode;
} modes[] = {
+#ifdef SW_TEXT_80x25
{ "80x25", SW_TEXT_80x25 },
{ "80x30", SW_TEXT_80x30 },
{ "80x43", SW_TEXT_80x43 },
@@ -272,6 +273,7 @@ video_mode(int argc, char **argv, int *index)
{ "132x43", SW_TEXT_132x43 },
{ "132x50", SW_TEXT_132x50 },
{ "132x60", SW_TEXT_132x60 },
+#endif
{ "VGA_40x25", SW_VGA_C40x25 },
{ "VGA_80x25", SW_VGA_C80x25 },
{ "VGA_80x30", SW_VGA_C80x30 },