diff options
author | bjarni <bjarni@openttd.org> | 2007-02-10 14:22:11 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-02-10 14:22:11 +0000 |
commit | 59029669a8eb11242af79d3a8406aa2a5d85c0a1 (patch) | |
tree | ec6fc0cb5ebc17d4f2e932df57e6c50e584876c1 /src/window.h | |
parent | 89b362a622a0e12eef1b11083a1f9aff0f70030a (diff) | |
download | openttd-59029669a8eb11242af79d3a8406aa2a5d85c0a1.tar.xz |
(svn r8662) -Fix r8661: don't try to put negative values in unsigned vars
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h index aa1c3b1c0..b671271e5 100644 --- a/src/window.h +++ b/src/window.h @@ -73,7 +73,7 @@ typedef struct Widget { byte type; ///< Widget type, see @WindowWidgetTypes byte display_flags; ///< Resize direction, alignment, etc. during resizing, see @ResizeFlags 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 StringID tooltips; ///< Tooltips that are shown when rightclicking on a widget } Widget; |