fe
terminal file explorer and picker
git clone https://9o.is/git/fe.git
commit fe5d65495e34b3260b21dd2e73dbed2f24a6bf30 parent 02575e229d6de2bd3d6ac6d10a0397edd9f790e6 Author: Jul <jul@9o.is> Date: Sun, 18 Jan 2026 10:41:35 -0500 avoid shadowing parameter argument Diffstat:
| M | tty_interface.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tty_interface.c b/tty_interface.c @@ -99,8 +99,8 @@ static void action_select(tty_interface_t *state, char *argv) { char fullpath[2*PATH_MAX]; snprintf(fullpath, sizeof(fullpath), "%s/%s", state->entries->path, selection->name); - char *const argv[] = {(char *)state->options->run, fullpath, NULL}; - x_spawn(state->options->run, argv, EXEC_REPLACE, NULL, 0); + char *const sargv[] = {(char *)state->options->run, fullpath, NULL}; + x_spawn(state->options->run, sargv, EXEC_REPLACE, NULL, 0); state->exit = EXIT_FAILURE; } }