From b9729fb72ef38d39eac4fdbe00c50efe4b0fe0d2 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 15 Nov 2005 09:00:02 +0000 Subject: (svn r3185) const --- settings_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings_gui.c') 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) { -- cgit v1.2.3-70-g09d2