summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r--usr.bin/vi/common/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/options.c b/usr.bin/vi/common/options.c
index d921afef311..ce80e7b2d70 100644
--- a/usr.bin/vi/common/options.c
+++ b/usr.bin/vi/common/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.28 2020/04/30 10:40:21 millert Exp $ */
+/* $OpenBSD: options.c,v 1.29 2021/04/13 15:39:21 millert Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -182,7 +182,7 @@ OPTLIST const optlist[] = {
/* O_WARN 4BSD */
{"warn", NULL, OPT_1BOOL, 0},
/* O_WINDOW 4BSD */
- {"window", f_window, OPT_NUM, 0},
+ {"window", f_window, OPT_NUM, OPT_NOZERO},
/* O_WINDOWNAME 4BSD */
{"windowname", NULL, OPT_0BOOL, 0},
/* O_WRAPLEN 4.4BSD */