diff options
author | rubidium <rubidium@openttd.org> | 2008-05-10 13:54:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-10 13:54:20 +0000 |
commit | 9410be7b70446059f6878706e1fa67801320f58b (patch) | |
tree | 58c877d4b714a34bfb14dddce187df74c2be7494 /src/window.cpp | |
parent | 24c2d9ff5c562e63c507e2c5cb89fce6c7c9a95c (diff) | |
download | openttd-9410be7b70446059f6878706e1fa67801320f58b.tar.xz |
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
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 24b2aae8f..2dc00a318 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -860,7 +860,7 @@ bool IsWindowOfPrototype(const Window *w, const Widget *widget) * \c w->original_widget points to the original widgets, * \c w->widget_count contains number of widgets in the allocated memory. */ -void AssignWidgetToWindow(Window *w, const Widget *widget) +static void AssignWidgetToWindow(Window *w, const Widget *widget) { w->original_widget = widget; |