Browse Source

* Show "bool", not "int" in set for vars

svn: 2197
Bryan Drewery 21 years ago
parent
commit
ad04c2b78c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/set.h

+ 2 - 2
src/set.h

@@ -3,8 +3,8 @@
 
 #include <sys/types.h>
 
-#define var_type_name(x) (x & VAR_DETECTED) ? "detect" : (x & VAR_INT) ? "int" : (x & VAR_LIST) ? "list" : \
-                         (x & VAR_STRING) ? "string" : (x & VAR_RATE) ? "rate" : (x & VAR_BOOL) ? "bool" : ""
+#define var_type_name(x) (x & VAR_DETECTED) ? "detect" : (x & VAR_BOOL) ? "bool" : (x & VAR_INT) ? "int" :\
+                         (x & VAR_LIST) ? "list" : (x & VAR_STRING) ? "string" : (x & VAR_RATE) ? "rate" : ""
 
 #define VAR_INT		BIT0
 #define VAR_STRING	BIT1