summaryrefslogtreecommitdiff
path: root/src/UCI.hpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/UCI.hpp.in')
-rw-r--r--src/UCI.hpp.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UCI.hpp.in b/src/UCI.hpp.in
index 67cabcf..dde3703 100644
--- a/src/UCI.hpp.in
+++ b/src/UCI.hpp.in
@@ -20,8 +20,8 @@
#include <vector>
#define IS_OPT_PARAM(str) \
- ((str) == "name" || (str) == "type" | (str) == "default" || \
- (str) == "min" || (str) == "max" || (str) == "var")
+ (((str) == "name") || ((str) == "type") || ((str) == "default") || \
+ ((str) == "min") || ((str) == "max") || ((str) == "var"))
namespace uciadapter {