aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-04-10 09:53:14 +0000
committerTiago Cunha <tcunha@gmx.com>2012-04-10 09:53:14 +0000
commit36ece3fcf5dc892b435c9cead8b2e408051745e8 (patch)
tree5b9754ac2caa4bc935e52e9e611d95b7392dc819
parentf99de22808b8e3c2b8aabf70b945f768ae892dda (diff)
downloadrtmux-36ece3fcf5dc892b435c9cead8b2e408051745e8.tar.gz
rtmux-36ece3fcf5dc892b435c9cead8b2e408051745e8.tar.bz2
rtmux-36ece3fcf5dc892b435c9cead8b2e408051745e8.zip
Sync OpenBSD patchset 1085:
Fix option name.
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index 00df57cd..00ee0a45 100644
--- a/layout.c
+++ b/layout.c
@@ -772,7 +772,7 @@ layout_list_add(struct window *w)
w->layout_list_size++;
w->layout_list_last = ll;
- limit = options_get_number(&w->options, "layout-history");
+ limit = options_get_number(&w->options, "layout-history-limit");
while (w->layout_list_size > limit) {
ll = TAILQ_LAST(&w->layout_list, last_layouts);
if (ll == w->layout_list_last)