diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-31 15:10:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-31 15:10:12 +0000 |
| commit | 9b0376efc3408f7057f8c4a3628b8c9786675540 (patch) | |
| tree | 253f18a7671e37db2d476208f316b8faf54a1861 | |
| parent | config: add 'hide-when-typing' (diff) | |
config: pipe-*: fix length calculation of the pipe command substring
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,7 +736,7 @@ parse_section_key_bindings( return false; } - pipe_len = pipe_cmd_end - pipe_cmd; + pipe_len = pipe_cmd_end - value - 1; pipe_cmd = strndup(&value[1], pipe_len); if (!tokenize_cmdline(pipe_cmd, &pipe_argv)) { |
