diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-11-28 22:01:24 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-11-28 22:01:24 +0000 |
commit | 34084fe666121d2c64e714b5210c106d85f93f44 (patch) | |
tree | 11dd2f2dd48d36fc0e4e28d4ee3824de7e2b75d6 | |
parent | 3bb11ec4843e1cd942e703bb386369e42466acd8 (diff) | |
parent | c5d74b1debc404340dd2049c708f9eb599be706e (diff) | |
download | rtmux-34084fe666121d2c64e714b5210c106d85f93f44.tar.gz rtmux-34084fe666121d2c64e714b5210c106d85f93f44.tar.bz2 rtmux-34084fe666121d2c64e714b5210c106d85f93f44.zip |
Merge branch 'obsd-master'
-rw-r--r-- | format.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1128,11 +1128,10 @@ format_find(struct format_tree *ft, const char *key, int modifiers) xasprintf(&found, "%lld", (long long)fe->t); goto found; } - if (fe->value == NULL && fe->cb != NULL) { + if (fe->value == NULL && fe->cb != NULL) fe->cb(ft, fe); - if (fe->value == NULL) - fe->value = xstrdup(""); - } + if (fe->value == NULL) + fe->value = xstrdup(""); found = xstrdup(fe->value); goto found; } |