mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: pipe-*: fix length calculation of the pipe command substring
This commit is contained in:
parent
d4ee9be4d7
commit
9b0376efc3
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue