mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r8662) -Fix r8661: don't try to put negative values in unsigned vars
This commit is contained in:
parent
0c8078ae29
commit
e133a523c1
@ -73,7 +73,7 @@ typedef struct Widget {
|
|||||||
byte type; ///< Widget type, see @WindowWidgetTypes
|
byte type; ///< Widget type, see @WindowWidgetTypes
|
||||||
byte display_flags; ///< Resize direction, alignment, etc. during resizing, see @ResizeFlags
|
byte display_flags; ///< Resize direction, alignment, etc. during resizing, see @ResizeFlags
|
||||||
byte color; ///< Widget colour, see docs/ottd-colourtext-palette.png
|
byte color; ///< Widget colour, see docs/ottd-colourtext-palette.png
|
||||||
uint16 left, right, top, bottom; ///< The position offsets inside the window
|
int16 left, right, top, bottom; ///< The position offsets inside the window
|
||||||
uint16 data; ///< The String/Image or special code (list-matrixes) of a widget
|
uint16 data; ///< The String/Image or special code (list-matrixes) of a widget
|
||||||
StringID tooltips; ///< Tooltips that are shown when rightclicking on a widget
|
StringID tooltips; ///< Tooltips that are shown when rightclicking on a widget
|
||||||
} Widget;
|
} Widget;
|
||||||
|
Loading…
Reference in New Issue
Block a user