summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-18 04:37:06 +0000
committerrubidium <rubidium@openttd.org>2008-04-18 04:37:06 +0000
commit9d8fa486af824039fae197212d83365242511da5 (patch)
tree31dd8caca4df193a4a2d7a3cd1ef2974e1a2b5a0 /src/stdafx.h
parent6daaf0fc5565599f9c87b431a69cdcbb91ed74ac (diff)
downloadopenttd-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.h4
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 */