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
commit79112c7dabbca6a1b560ae061fbb1d16089a0b2b (patch)
tree12eb618451b7fbdfabe467e904f7f58a60889afc
parent158539fed09bd8e4aca515bcc44e3bb5507c8ee2 (diff)
downloadopenttd-79112c7dabbca6a1b560ae061fbb1d16089a0b2b.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;