forked from mirror/OpenTTD
(svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
exists on MorphOS
This commit is contained in:
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];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user