summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol/vidcontrol.c
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1998-09-24 01:36:36 +0000
committergpalmer <gpalmer@FreeBSD.org>1998-09-24 01:36:36 +0000
commit143e37c722163602fc6b83cd5377beb5511f4086 (patch)
tree075edaeab484061925ebffddf2ca97005e95f207 /usr.sbin/vidcontrol/vidcontrol.c
parentdb5b7b7bc66a726d05eee348cb01e4e67d36378a (diff)
downloadFreeBSD-src-143e37c722163602fc6b83cd5377beb5511f4086.zip
FreeBSD-src-143e37c722163602fc6b83cd5377beb5511f4086.tar.gz
Don't assume that we have extended modes on all platforms.
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.c')
-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 1d8d4b2..1553c34 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 },
OpenPOWER on IntegriCloud