瀏覽代碼

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

svn: 2197
Bryan Drewery 21 年之前
父節點
當前提交
ad04c2b78c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/set.h

+ 2 - 2
src/set.h

@@ -3,8 +3,8 @@
 
 
 #include <sys/types.h>
 #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_INT		BIT0
 #define VAR_STRING	BIT1
 #define VAR_STRING	BIT1