nnn

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

commit 6186e8b458b489651809b679fcb8d757c8f3aa30
parent 7467d9f0ed74ef65ad3c567b55ef2bb6f7a670da
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Thu, 25 Apr 2019 19:02:55 +0530

Fix check for binary value

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -1054,7 +1054,7 @@ static bool xgetenv_set(const char *name) { char *value = getenv(name); - if (value && value[0] == 1 && !value[1]) + if (value && value[0] == '1' && !value[1]) return TRUE; return FALSE;