diff options
author | glx <glx@openttd.org> | 2007-12-07 17:42:15 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-12-07 17:42:15 +0000 |
commit | 10e17c30a38535e571e28d2a56046c76bda39a97 (patch) | |
tree | 0cd694839973ce926aead9fe2c686bb67a1e8413 /src/window.cpp | |
parent | 7159007a3529e27a3f93c7ece2fe7d4d0c90d777 (diff) | |
download | openttd-10e17c30a38535e571e28d2a56046c76bda39a97.tar.xz |
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
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 e22c4c87e..41dd28df9 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -134,7 +134,7 @@ void Window::RaiseButtons() } } -void Window::InvalidateWidget(byte widget_index) +void Window::InvalidateWidget(byte widget_index) const { const Widget *wi = &this->widget[widget_index]; |