diff options
author | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
commit | b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 (patch) | |
tree | 403f3895461c780ab3903620ba2129a83d43eaea /window.c | |
parent | 1b0091e0d29a59811522758c00b690f4f07b471b (diff) | |
download | openttd-b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2.tar.xz |
(svn r3185) const
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |