From f4c815a1d9bb6c5b16a9f83d6e43c1d183a7f8d1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 13 Feb 2013 10:41:12 +0000 Subject: [PATCH] Fix constness again, sigh. --- cmd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd.c b/cmd.c index d30279a3..fae5b453 100644 --- a/cmd.c +++ b/cmd.c @@ -1223,10 +1223,10 @@ cmd_find_pane_offset(const char *paneptr, struct winlink *wl) char * cmd_template_replace(const char *template, const char *s, int idx) { - char ch; - char *buf, *ptr; - int replaced; - size_t len; + char ch, *buf; + const char *ptr; + int replaced; + size_t len; if (strstr(template, "%") == NULL) return (xstrdup(template));