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

2
cmd.c
View File

@ -1221,7 +1221,7 @@ cmd_find_pane_offset(const char *paneptr, struct winlink *wl)
/* Replace the first %% or %idx in template by s. */
char *
cmd_template_replace(char *template, const char *s, int idx)
cmd_template_replace(const char *template, const char *s, int idx)
{
char ch;
char *buf, *ptr;