diff options
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |