aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-07 20:01:14 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-07 20:01:14 +0000
commit5aaf64062929a4b43ab58a8d3072d5e126e15424 (patch)
treeca6ac9b95dd1a333fcf62c2e8d598640bd361793 /format.c
parent178289fb4c9d30a9d8cde60ef9d055c6a7e9882b (diff)
parentc0a34821c14fd8ca7dd77782cb919028826ee4b9 (diff)
downloadrtmux-5aaf64062929a4b43ab58a8d3072d5e126e15424.tar.gz
rtmux-5aaf64062929a4b43ab58a8d3072d5e126e15424.tar.bz2
rtmux-5aaf64062929a4b43ab58a8d3072d5e126e15424.zip
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r--format.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/format.c b/format.c
index 57e9e6a4..6036dac3 100644
--- a/format.c
+++ b/format.c
@@ -879,9 +879,8 @@ format_replace(struct format_tree *ft, const char *key, size_t keylen,
*ptr = '\0';
found = format_find(ft, copy + 1, modifiers);
- if (found == NULL) {
- log_debug("XXX %s", copy + 1);
- found = format_expand(ft, copy + 1);}
+ if (found == NULL)
+ found = format_expand(ft, copy + 1);
if (format_choose(ptr + 1, &left, &right) != 0)
goto fail;