summaryrefslogtreecommitdiff
path: root/settings_gui.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 /settings_gui.c
parent1b0091e0d29a59811522758c00b690f4f07b471b (diff)
downloadopenttd-b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2.tar.xz
(svn r3185) const
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c
index b53f5e3a5..3f6b520d2 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -1277,7 +1277,7 @@ void ShowNewgrf(void)
{ // little helper function to calculate _grffile_count
// should be REMOVED once _grffile_count is calculated at loading
- GRFFile *c = _first_grffile;
+ const GRFFile* c = _first_grffile;
_grffile_count = 0;
while (c != NULL) {