summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-10-08 00:53:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-10-08 00:53:46 +0000
commitd36b0d67141ed17fbf79228bd12013e73bb69244 (patch)
tree38f23273b0a759a60f1b5e7d7e1ffc75e8bccc93 /usr.bin/vi/common
parent38dd12d1c38d00a2753be719d1222cad79ee5014 (diff)
bump max columns out to 768. screens are getting bigger...
ok deraadt@
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r--usr.bin/vi/common/options_f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/options_f.c b/usr.bin/vi/common/options_f.c
index 2adfefa574f..6eb8ea7c881 100644
--- a/usr.bin/vi/common/options_f.c
+++ b/usr.bin/vi/common/options_f.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options_f.c,v 1.7 2009/10/27 23:59:47 deraadt Exp $ */
+/* $OpenBSD: options_f.c,v 1.8 2014/10/08 00:53:45 dlg Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -66,7 +66,7 @@ f_columns(sp, op, str, valp)
* number of lines/columns for the screen, but at least we don't drop
* core.
*/
-#define MAXIMUM_SCREEN_COLS 500
+#define MAXIMUM_SCREEN_COLS 768
if (*valp > MAXIMUM_SCREEN_COLS) {
msgq(sp, M_ERR, "041|Screen columns too large, greater than %d",
MAXIMUM_SCREEN_COLS);