diff options
author | rubidium <rubidium@openttd.org> | 2008-04-18 04:37:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-18 04:37:06 +0000 |
commit | 9d8fa486af824039fae197212d83365242511da5 (patch) | |
tree | 31dd8caca4df193a4a2d7a3cd1ef2974e1a2b5a0 /src/stdafx.h | |
parent | 6daaf0fc5565599f9c87b431a69cdcbb91ed74ac (diff) | |
download | openttd-9d8fa486af824039fae197212d83365242511da5.tar.xz |
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index 76818d93f..9b48a1d67 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -296,9 +296,9 @@ assert_compile(sizeof(uint8) == 1); #define endof(x) (&x[lengthof(x)]) #define lastof(x) (&x[lengthof(x) - 1]) -#define cpp_offsetof(s,m) (((size_t)&reinterpret_cast<const volatile char&>((((s*)(char*)8)->m))) - 8) +#define cpp_offsetof(s, m) (((size_t)&reinterpret_cast<const volatile char&>((((s*)(char*)8)->m))) - 8) #if !defined(offsetof) - #define offsetof(s,m) cpp_offsetof(s, m) + #define offsetof(s, m) cpp_offsetof(s, m) #endif /* offsetof */ |