summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
committeralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
commit9f5a96ead210338d8fc343108a8633da5e04e340 (patch)
treede03e1764ebef64977250f6ca88b26b93e313a63 /src/window.cpp
parent219ad6e0032efd16afa177e6b6e09c7e7a7b4141 (diff)
downloadopenttd-9f5a96ead210338d8fc343108a8633da5e04e340.tar.xz
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 4e2e42091..5d4eac2f3 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -145,7 +145,7 @@ void SetFocusedWindow(Window *w)
* has a edit box as focused widget, or if a console is focused.
* @return returns true if an edit box is in global focus or if the focused window is a console, else false
*/
-bool EditBoxInGlobalFocus()
+static bool EditBoxInGlobalFocus()
{
if (_focused_window == NULL) return false;