diff options
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index e20204bcb..1a722a9a8 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -252,11 +252,11 @@ MD5File::ChecksumResult MD5File::CheckMD5() const } /** Names corresponding to the GraphicsFileType */ -const char *_graphics_file_names[] = { "base", "logos", "arctic", "tropical", "toyland", "extra" }; +static const char * const _graphics_file_names[] = { "base", "logos", "arctic", "tropical", "toyland", "extra" }; /** Implementation */ template <class T, size_t Tnum_files> -/* static */ const char **BaseSet<T, Tnum_files>::file_names = _graphics_file_names; +/* static */ const char * const *BaseSet<T, Tnum_files>::file_names = _graphics_file_names; extern void UpdateNewGRFConfigPalette(); |