summaryrefslogtreecommitdiff
path: root/src/window.h
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
commit10e17c30a38535e571e28d2a56046c76bda39a97 (patch)
tree0cd694839973ce926aead9fe2c686bb67a1e8413 /src/window.h
parent7159007a3529e27a3f93c7ece2fe7d4d0c90d777 (diff)
downloadopenttd-10e17c30a38535e571e28d2a56046c76bda39a97.tar.xz
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index e98d99d24..7e5ff8d2c 100644
--- a/src/window.h
+++ b/src/window.h
@@ -297,7 +297,7 @@ struct Window {
void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
void CDECL SetWidgetsHiddenState(bool hidden_stat, int widgets, ...);
void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);
- void InvalidateWidget(byte widget_index);
+ void InvalidateWidget(byte widget_index) const;
};
struct querystr_d {