summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 22:47:58 +0000
committertron <tron@openttd.org>2005-01-22 22:47:58 +0000
commite5cd6b61933537888b1be19af437415861cca57f (patch)
tree078e42c5f2a6e1d8ef465541334a5c00039419e1 /window.c
parente75c48ec7a8920c475e515fa13c7629f19cf1a14 (diff)
downloadopenttd-e5cd6b61933537888b1be19af437415861cca57f.tar.xz
(svn r1596) Add some more statics
Diffstat (limited to 'window.c')
-rw-r--r--window.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/window.c b/window.c
index 5a88e2fe5..fc4459fae 100644
--- a/window.c
+++ b/window.c
@@ -532,7 +532,8 @@ static bool IsGoodAutoPlace2(int left, int top)
return true;
}
-Point GetAutoPlacePosition(int width, int height) {
+static Point GetAutoPlacePosition(int width, int height)
+{
Window *w;
Point pt;
@@ -778,7 +779,7 @@ static bool HandlePopupMenu(void)
return false;
}
-bool HandleMouseOver(void)
+static bool HandleMouseOver(void)
{
Window *w;
WindowEvent e;
@@ -811,7 +812,7 @@ bool HandleMouseOver(void)
return true;
}
-bool HandleWindowDragging(void)
+static bool HandleWindowDragging(void)
{
Window *w;
// Get out immediately if no window is being dragged at all.