From e133a523c1e38f09e593dda7fcaebd1ba13ee5d1 Mon Sep 17 00:00:00 2001 From: bjarni Date: Sat, 10 Feb 2007 14:22:11 +0000 Subject: (svn r8662) -Fix r8661: don't try to put negative values in unsigned vars --- src/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.h') 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; -- cgit v1.2.3-54-g00ecf