diff options
author | alberth <alberth@openttd.org> | 2009-11-07 15:49:36 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-07 15:49:36 +0000 |
commit | b500170ac2e286b1fe5a6c8529f1f963cd05ecdf (patch) | |
tree | 59225f7c5cf84d78fbf902087a9d71f4dc8ca7a8 | |
parent | 3ae1b98d3a11764fd7b63cddf3d4bdbc542b5341 (diff) | |
download | openttd-b500170ac2e286b1fe5a6c8529f1f963cd05ecdf.tar.xz |
(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index c2c725502..0bffa019e 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1621,7 +1621,7 @@ enum PreventHideDirection { * @param px Previous horizontal base coordinate. * @param dir If no room horizontally, move the rectangle to the indicated position. */ -void PreventHiding(int *nx, int *ny, const Rect &rect, const Window *v, int px, PreventHideDirection dir) +static void PreventHiding(int *nx, int *ny, const Rect &rect, const Window *v, int px, PreventHideDirection dir) { if (v == NULL) return; |