]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix build break
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 25 Jan 2019 16:45:11 +0000 (22:15 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 25 Jan 2019 16:46:05 +0000 (22:16 +0530)
src/nnn.c

index 818d17191a88ef0abed5cc82a58b6f28908e2f8d..3de43729d9890f4eba65a89fec0a1696456e5f65 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1649,7 +1649,7 @@ static bool parsebmstr()
        int i = 0;
        char *bms = getenv(env_cfg[NNN_BMS]);
        char *nextkey = bms;
-       if (!bms | !*bms)
+       if (!bms || !*bms)
                return TRUE;
 
        while (*bms && i < BM_MAX) {