diff options
author | alberth <alberth@openttd.org> | 2010-08-29 15:58:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-29 15:58:43 +0000 |
commit | 9f5a96ead210338d8fc343108a8633da5e04e340 (patch) | |
tree | de03e1764ebef64977250f6ca88b26b93e313a63 /src/window.cpp | |
parent | 219ad6e0032efd16afa177e6b6e09c7e7a7b4141 (diff) | |
download | openttd-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.cpp | 2 |
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; |