diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-24 00:18:48 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-24 00:18:48 +0200 |
commit | ea0917bcba86d354f9c8516a4f114c38d04f890b (patch) | |
tree | 4527ad97ab5a2b44858358d94b64e1b37e8f783b | |
parent | 9c79022153c6ef3a6c35b2db8be6b259104e67f3 (diff) |
Filter: Fix eval command
-rw-r--r-- | filter/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter.c b/filter/filter.c index 35bd75e6..60e351f9 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -407,7 +407,7 @@ f_eval_buf(const struct f_line *expr, struct linpool *tmp_pool, buffer *buf) { struct f_val val; enum filter_return fret = f_eval(expr, tmp_pool, &val); - if (fret > F_RETURN) + if (fret <= F_RETURN) val_format(&val, buf); return fret; } |