From 40467726e3a985f0d7c064c6dcf7121f3266ab70 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 3 May 2021 06:39:17 +0100 Subject: Fix warnings, from Jan Tache in GitHub issue 2692. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format.c') diff --git a/format.c b/format.c index 5a12502e..c7960819 100644 --- a/format.c +++ b/format.c @@ -4199,7 +4199,7 @@ format_replace(struct format_expand_state *es, const char *key, size_t keylen, value = xstrdup("0"); } else { format_log(es, "search '%s' pane %%%u", new, wp->id); - value = format_search(fm, wp, new); + value = format_search(search, wp, new); } free(new); } else if (cmp != NULL) { -- cgit