nnn

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

commit 10da1ac8dd7cffd5652d942359f928c41d3c03b9
parent 22b95be8106e26c81b09a8442aee6d1494a9fe68
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed,  6 Feb 2019 02:31:00 +0530

Remove redundant env var

Diffstat:
Msrc/nnn.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -433,7 +433,6 @@ static const char * const messages[] = { #define NNN_NO_AUTOSELECT 10 #define NNN_RESTRICT_NAV_OPEN 11 #define NNN_RESTRICT_0B 12 -#define NNN_PLAIN_FILTER 13 static const char * const env_cfg[] = { "NNN_BMS", @@ -449,7 +448,6 @@ static const char * const env_cfg[] = { "NNN_NO_AUTOSELECT", "NNN_RESTRICT_NAV_OPEN", "NNN_RESTRICT_0B", - "NNN_PLAIN_FILTER", }; /* Required env vars */ @@ -2452,7 +2450,7 @@ static bool show_help(char *path) dprintf(fd, "\n"); } - for (i = NNN_OPENER; i <= NNN_PLAIN_FILTER; ++i) { + for (i = NNN_OPENER; i <= NNN_RESTRICT_0B; ++i) { start = getenv(env_cfg[i]); if (start) { if (i < NNN_USE_EDITOR)