diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-04-01 13:21:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-04-01 13:21:39 +0000 |
commit | b6146a441ff14988818616be7636711f0196d358 (patch) | |
tree | b2ce28720f485bfdb053f667dff4c4b69c8c98cc /usr.bin/tmux | |
parent | 77aae561d8cfe9bb9b16bd877b1f268e756ddd60 (diff) |
Fix option name.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/layout.c b/usr.bin/tmux/layout.c index 69e1a3215ee..2b453d5678f 100644 --- a/usr.bin/tmux/layout.c +++ b/usr.bin/tmux/layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout.c,v 1.11 2012/04/01 13:18:38 nicm Exp $ */ +/* $OpenBSD: layout.c,v 1.12 2012/04/01 13:21:38 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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) |