summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-12-07 17:42:15 +0000
committerglx <glx@openttd.org>2007-12-07 17:42:15 +0000
commitd129a7295caa5f5d39f66d0f93e463d418fa0ad9 (patch)
tree0cd694839973ce926aead9fe2c686bb67a1e8413 /src/window.cpp
parent10360288d01f85fc193a7151d59348aae93a0079 (diff)
downloadopenttd-d129a7295caa5f5d39f66d0f93e463d418fa0ad9.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.cpp2
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];