nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 41dc17883a8659c428b208e03f1d55c6b404251a
parent 2232772db4f00eb936ee66e57d35dd8bc5344d86
Author: lvgx <l@vgx.fr>
Date:   Sat, 30 May 2020 01:21:16 +0200

Fix detecting end of evironment options (#610)

This allow using both NNN_OPTS and options with arguments from argv.
Diffstat:
Msrc/nnn.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -7048,6 +7048,8 @@ int main(int argc, char *argv[]) usage(); return EXIT_FAILURE; } + if (env_opts_id == 0) + env_opts_id = -1; } #ifdef DBGMODE