summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-15 09:00:02 +0000
committertron <tron@openttd.org>2005-11-15 09:00:02 +0000
commitb9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 (patch)
tree403f3895461c780ab3903620ba2129a83d43eaea /window.c
parent1b0091e0d29a59811522758c00b690f4f07b471b (diff)
downloadopenttd-b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2.tar.xz
(svn r3185) const
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index a9e48e66c..151b02fd1 100644
--- a/window.c
+++ b/window.c
@@ -1548,7 +1548,7 @@ int GetMenuItemIndex(const Window *w, int x, int y)
void InvalidateWindow(byte cls, WindowNumber number)
{
- Window *w;
+ const Window* w;
for (w = _windows; w != _last_window; w++) {
if (w->window_class == cls && w->window_number == number) SetWindowDirty(w);