mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
exists on MorphOS
This commit is contained in:
parent
a20b9c2240
commit
53ddd87dc2
6
window.h
6
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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue