summaryrefslogtreecommitdiffstats
path: root/format.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-06-15 09:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-06-15 09:02:26 +0100
commit5895f1d9f742c9b4bcc1de3cf3bebe2601f673b3 (patch)
treefea3b91e3f5170eef4e4d867d9fc14b5b7c59c3d /format.c
parentfadbf497a4d0abb21e9c94a56a7b9e77572ca3ef (diff)
parent03da0ced46e0ddcfbdcc6d580d906f47279cabcd (diff)
Merge branch 'obsd-master'
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 8126bfb2..f5754f0d 100644
--- a/format.c
+++ b/format.c
@@ -1716,7 +1716,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);