diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-15 12:57:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-15 12:57:13 +0000 |
commit | 4f01bfc4bce9688c6c8b35f698c8444270e20cdc (patch) | |
tree | 43bd05ce89af16a45e122b691d214b5dd11eaa37 | |
parent | 1d591ada76c049343feab503863cc57308bb1280 (diff) | |
download | rtmux-4f01bfc4bce9688c6c8b35f698c8444270e20cdc.tar.gz rtmux-4f01bfc4bce9688c6c8b35f698c8444270e20cdc.tar.bz2 rtmux-4f01bfc4bce9688c6c8b35f698c8444270e20cdc.zip |
Make choose-tree actually work again.
-rw-r--r-- | cmd-choose-tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c index 51a329ec..e84bf699 100644 --- a/cmd-choose-tree.c +++ b/cmd-choose-tree.c @@ -203,8 +203,9 @@ windows_only: cur_win = idx_ses; } - xasprintf(&final_win_action, "%s ; %s", - wcd ? wcd->command : "", win_action); + xasprintf(&final_win_action, "%s %s %s", + wcd != NULL ? wcd->command : "", + wcd != NULL ? ";" : "", win_action); if (win_ses != win_max) cur_win_template = final_win_template_middle; |