summaryrefslogtreecommitdiffstats
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index e1a6360a..75521fd0 100644
--- a/format.c
+++ b/format.c
@@ -1700,7 +1700,7 @@ format_replace(struct format_tree *ft, const char *key, size_t keylen,
else
value = xstrdup("0");
} else if (strcmp(cmp->modifier, "m") == 0)
- value = format_match(fm, left, right);
+ value = format_match(cmp, left, right);
free(right);
free(left);