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;
|
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