Fix constness of cmd_template_replace.

This commit is contained in:
Nicholas Marriott
2013-02-13 10:19:43 +00:00
parent 36fe146a74
commit 544c80d715
4 changed files with 5 additions and 5 deletions

View File

@ -174,7 +174,7 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx)
}
wcd = window_choose_add_session(wl->window->active,
c, s2, ses_template, (char *)ses_action, idx_ses);
c, s2, ses_template, ses_action, idx_ses);
/* If we're just choosing sessions, skip choosing windows. */
if (sflag && !wflag) {