]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix build break
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 21 Feb 2020 22:58:27 +0000 (04:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 21 Feb 2020 22:58:27 +0000 (04:28 +0530)
src/nnn.c

index 41f1fcf73da3103176229bba55665feef0133a4b..e8b5209381c9898006f64d690868d5f9b6ed2bac 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -645,7 +645,7 @@ static haiku_nm_h haiku_hnd;
 /* A faster version of xisdigit */
 #define xisdigit(c) ((unsigned int) (c) - '0' <= 9)
 #define xerror() perror(xitoa(__LINE__))
-#define xconfirm(c) (c == 'y' || c == 'Y')
+#define xconfirm(c) ((c) == 'y' || (c) == 'Y')
 
 #ifdef __GNUC__
 #define UNUSED(x) UNUSED_##x __attribute__((__unused__))