summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-11-09 16:33:52 +0000
committersmatz <smatz@openttd.org>2009-11-09 16:33:52 +0000
commita84921f8f5e1d94e5a49588b1bf974dfbc2adc14 (patch)
treec3d6965e62cc4e1f7959784e567d38e4d1dd31df /src
parent88a7e238974e8de608ebdb6191e3d34ce25da44e (diff)
downloadopenttd-a84921f8f5e1d94e5a49588b1bf974dfbc2adc14.tar.xz
(svn r18032) -Codechange: add one const
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 6658955a9..c6074de20 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -212,7 +212,7 @@ void FioOpenFile(int slot, const char *filename)
FioSeekToFile(slot, pos);
}
-static const char *_subdirs[NUM_SUBDIRS] = {
+static const char * const _subdirs[NUM_SUBDIRS] = {
"",
"save" PATHSEP,
"save" PATHSEP "autosave" PATHSEP,