mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Sync OpenBSD patchset 1085:
Fix option name.
This commit is contained in:
parent
f99de22808
commit
36ece3fcf5
2
layout.c
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user