summaryrefslogtreecommitdiff
path: root/smallmap_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-02-03 21:51:42 +0000
committerDarkvater <darkvater@openttd.org>2006-02-03 21:51:42 +0000
commitc5a669b39f6a78ee3ed0b819dd9bc5985cbb2c18 (patch)
treee7d2444a0b7e457cba604a7704ce886eb0a61612 /smallmap_gui.c
parent6dd2affaad238c40e36d29593c9e8217966355f2 (diff)
downloadopenttd-c5a669b39f6a78ee3ed0b819dd9bc5985cbb2c18.tar.xz
(svn r3529) - Fix: [ 1415782 ] crash in string code with openbsd/zaurus; alignment issues (thanks Tron for the help)
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r--smallmap_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c
index 69bd6ab8d..0b3463c73 100644
--- a/smallmap_gui.c
+++ b/smallmap_gui.c
@@ -194,7 +194,7 @@ static const uint16 * const _legend_table[] = {
_legend_industries_candy,
};
-#if defined(TTD_ALIGNMENT_4)
+#if defined(OTTD_ALIGNMENT)
static inline void WRITE_PIXELS(Pixel* d, uint32 val)
{
# if defined(TTD_BIG_ENDIAN)