summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 11:51:10 +0000
committertruelight <truelight@openttd.org>2006-08-20 11:51:10 +0000
commit2309eeb8de5d1bb28b2e28caf0e0baf3112749e2 (patch)
tree12eb618451b7fbdfabe467e904f7f58a60889afc
parent81b96bf881c7fdcf0d26310c0102a48537e06247 (diff)
downloadopenttd-2309eeb8de5d1bb28b2e28caf0e0baf3112749e2.tar.xz
(svn r5971) -Fix: wrong struct in assert_compile (thomasdev)
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index ae99ddc93..6dff1d967 100644
--- a/window.h
+++ b/window.h
@@ -386,7 +386,7 @@ typedef struct {
int32 scroll_y;
int32 subscroll;
} smallmap_d;
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(traindetails_d));
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(smallmap_d));
typedef struct {
uint32 face;