Sync OpenBSD patchset 1081:

Only find each window once no matter how many panes, from Jonathan
Daugherty.
This commit is contained in:
Tiago Cunha 2012-04-10 09:44:58 +00:00
parent f881ff1c18
commit 86c1335452

View File

@ -142,6 +142,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
ARRAY_ADD(&list_idx, wm->idx);
ARRAY_ADD(&list_ctx, sctx);
break;
}
}
xfree(searchstr);