瀏覽代碼

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

tags/v0.9.3
Michael Brown 17 年之前
父節點
當前提交
688eb60df4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/include/curses.h

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

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

Loading…
取消
儲存