diff options
author | frosch <frosch@openttd.org> | 2010-06-07 19:56:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-06-07 19:56:32 +0000 |
commit | 38b8259f3b85b91a1a4a4b1fbbff1a35c708810e (patch) | |
tree | b054a50ccd65b11d6f4f279a6a9b55021469bc57 /src/widget.cpp | |
parent | eb02ce0573aa9b4e6305f77b78c8263cbbaa9c7f (diff) | |
download | openttd-38b8259f3b85b91a1a4a4b1fbbff1a35c708810e.tar.xz |
(svn r19943) -Fix [FS#3865]: Disallow moving of vehicle news window.
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index 350dcde80..298c7ab44 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -526,7 +526,7 @@ static inline void DrawCloseBox(const Rect &r, Colours colour, StringID str) * @param owner 'Owner' of the window. * @param str Text to draw in the bar. */ -static inline void DrawCaption(const Rect &r, Colours colour, Owner owner, StringID str) +void DrawCaption(const Rect &r, Colours colour, Owner owner, StringID str) { DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, FR_BORDERONLY); DrawFrameRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, colour, (owner == INVALID_OWNER) ? FR_LOWERED | FR_DARKENED : FR_LOWERED | FR_DARKENED | FR_BORDERONLY); |