Sync OpenBSD patchset 1085:

Fix option name.
This commit is contained in:
Tiago Cunha 2012-04-10 09:53:14 +00:00
parent f99de22808
commit 36ece3fcf5

View File

@ -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)