mirror of
https://github.com/tmux/tmux.git
synced 2025-10-26 12:27:15 +00:00
Fix constness of cmd_template_replace.
This commit is contained in:
2
cmd.c
2
cmd.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user