1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 19:19:09 +00:00

(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.

This commit is contained in:
alberth
2009-11-07 15:49:36 +00:00
parent 3ae1b98d3a
commit b500170ac2

View File

@@ -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;