summaryrefslogtreecommitdiff
path: root/macros.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 07:36:15 +0000
committertron <tron@openttd.org>2006-02-01 07:36:15 +0000
commit1c3e8630feb95e7202c83984620aced872a5da77 (patch)
treea7d69d6390e8880d090f15560161694c3ce6126d /macros.h
parent9712d6f639c2a32aac05c22ff17cdb3ee32a977d (diff)
downloadopenttd-1c3e8630feb95e7202c83984620aced872a5da77.tar.xz
(svn r3511) More whitespace ([FS#46] by Rubidium)
Diffstat (limited to 'macros.h')
-rw-r--r--macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros.h b/macros.h
index b9faad6b2..e3192c8b3 100644
--- a/macros.h
+++ b/macros.h
@@ -120,9 +120,9 @@ static inline int KillFirstBit2x64(int value)
#define CHANCE16I(a,b,v) ((uint16)(v) <= (uint16)((65536 * a) / b))
-#define for_each_bit(_i,_b) \
- for(_i=0; _b!=0; _i++,_b>>=1) \
- if (_b&1)
+#define for_each_bit(_i, _b) \
+ for (_i = 0; _b != 0; _i++, _b >>= 1) \
+ if (_b & 1)
#define abs myabs