mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
exists on MorphOS
This commit is contained in:
parent
d431d15b34
commit
17b97b7b63
6
window.h
6
window.h
@ -272,11 +272,11 @@ typedef struct ResizeInfo {
|
|||||||
uint step_height;
|
uint step_height;
|
||||||
} ResizeInfo;
|
} ResizeInfo;
|
||||||
|
|
||||||
typedef struct Message {
|
typedef struct WindowMessage {
|
||||||
int msg;
|
int msg;
|
||||||
int wparam;
|
int wparam;
|
||||||
int lparam;
|
int lparam;
|
||||||
} Message;
|
} WindowMessage;
|
||||||
|
|
||||||
struct Window {
|
struct Window {
|
||||||
uint16 flags4;
|
uint16 flags4;
|
||||||
@ -298,7 +298,7 @@ struct Window {
|
|||||||
Widget *widget;
|
Widget *widget;
|
||||||
uint32 desc_flags;
|
uint32 desc_flags;
|
||||||
|
|
||||||
Message message;
|
WindowMessage message;
|
||||||
byte custom[WINDOW_CUSTOM_SIZE];
|
byte custom[WINDOW_CUSTOM_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user