diff options
author | nicm <nicm> | 2021-08-12 19:47:05 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-12 19:47:05 +0000 |
commit | 9b004728202d03241009ef5f73980909e9234bc4 (patch) | |
tree | 6492c6e6a97837a1e8cc66d910303177598850e6 /format.c | |
parent | 5d451551b6457d972897fa60b3dba38e13d6589f (diff) | |
download | rtmux-9b004728202d03241009ef5f73980909e9234bc4.tar.gz rtmux-9b004728202d03241009ef5f73980909e9234bc4.tar.bz2 rtmux-9b004728202d03241009ef5f73980909e9234bc4.zip |
Evaluate styles with the pane variables.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -4300,15 +4300,14 @@ format_replace(struct format_expand_state *es, const char *key, size_t keylen, if (strcmp(found, condition) == 0) { free(found); found = xstrdup(""); - format_log(es, "condition '%s' found: %s", - condition, found); - } else { format_log(es, "condition '%s' not found; assuming false", condition); } - } else - format_log(es, "condition '%s' found", condition); + } else { + format_log(es, "condition '%s' found: %s", condition, + found); + } if (format_choose(es, cp + 1, &left, &right, 0) != 0) { format_log(es, "condition '%s' syntax error: %s", |