summaryrefslogtreecommitdiffstats
path: root/options-table.c
authortcunha <tcunha>2011-01-21 23:54:19 (GMT)
committer tcunha <tcunha>2011-01-21 23:54:19 (GMT)
commitc5a3bbcbbd9aa6a7c63d8ff6d74ed12a337f7f30 (patch) (side-by-side diff)
tree8162aed014d70a369280dacb22b59b5b3c6e554d /options-table.c
parentc867a92388c52ac864f53b44f19d2ced901e1e5b (diff)
downloadtmux-old-c5a3bbcbbd9aa6a7c63d8ff6d74ed12a337f7f30.zip
tmux-old-c5a3bbcbbd9aa6a7c63d8ff6d74ed12a337f7f30.tar.gz
tmux-old-c5a3bbcbbd9aa6a7c63d8ff6d74ed12a337f7f30.tar.bz2
Sync OpenBSD patchset 843:
The maximum history-limit was accidentally reduced, fix it back to INT_MAX.
Diffstat (limited to 'options-table.c') (more/less context) (ignore whitespace changes)
-rw-r--r--options-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c
index 721456b..96ffd28 100644
--- a/options-table.c
+++ b/options-table.c
@@ -1,4 +1,4 @@
-/* $Id: options-table.c,v 1.3 2011/01/07 14:34:45 tcunha Exp $ */
+/* $Id: options-table.c,v 1.4 2011/01/21 23:54:19 tcunha Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <[email protected]>
@@ -149,7 +149,7 @@ const struct options_table_entry session_options_table[] = {
{ .name = "history-limit",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 0,
- .maximum = SHRT_MAX,
+ .maximum = INT_MAX,
.default_num = 2000
},