Make choose-tree actually work again.

pull/1/head
Nicholas Marriott 2013-03-21 16:53:12 +00:00
parent d5139d1401
commit 48291f0eeb
1 changed files with 3 additions and 2 deletions

View File

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