summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-11-10 15:23:55 +0000
committertruelight <truelight@openttd.org>2005-11-10 15:23:55 +0000
commit53ddd87dc24ec328d1019b90c633a56ee4bc37e8 (patch)
treea509c22fe21687d421920acbca12751485399414 /window.h
parenta20b9c224013a2432034dc673db288d380025efb (diff)
downloadopenttd-53ddd87dc24ec328d1019b90c633a56ee4bc37e8.tar.xz
(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
exists on MorphOS
Diffstat (limited to 'window.h')
-rw-r--r--window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/window.h b/window.h
index df2ec0476..5d06d636e 100644
--- a/window.h
+++ b/window.h
@@ -272,11 +272,11 @@ typedef struct ResizeInfo {
uint step_height;
} ResizeInfo;
-typedef struct Message {
+typedef struct WindowMessage {
int msg;
int wparam;
int lparam;
-} Message;
+} WindowMessage;
struct Window {
uint16 flags4;
@@ -298,7 +298,7 @@ struct Window {
Widget *widget;
uint32 desc_flags;
- Message message;
+ WindowMessage message;
byte custom[WINDOW_CUSTOM_SIZE];
};