瀏覽代碼

Use int rather than short for bool; it will give more efficient code.

tags/v0.9.3
Michael Brown 19 年之前
父節點
當前提交
688eb60df4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/include/curses.h

+ 1
- 1
src/include/curses.h 查看文件

22
 #undef  TRUE
22
 #undef  TRUE
23
 #define TRUE	(1)
23
 #define TRUE	(1)
24
 
24
 
25
-typedef short bool;
25
+typedef int bool;
26
 typedef uint32_t chtype;
26
 typedef uint32_t chtype;
27
 typedef uint32_t attr_t;
27
 typedef uint32_t attr_t;
28
 
28
 

Loading…
取消
儲存