diff options
author | rubidium <rubidium@openttd.org> | 2013-11-13 18:57:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-13 18:57:25 +0000 |
commit | def597fe315dd6d778f27deb0961b9c54121e96b (patch) | |
tree | 8109bd46052f70d5b4bdda8656d9ab330105378f /src/fileio_func.h | |
parent | 63e0ff048ea3e2ac76871c27d0ae6320078b3ad0 (diff) | |
download | openttd-def597fe315dd6d778f27deb0961b9c54121e96b.tar.xz |
(svn r25974) -Codechange: make the _personal_dir global const, since once it's set it shouldn't be changed anyhow
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r-- | src/fileio_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h index d85c8630c..449ba51fe 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -67,7 +67,7 @@ const char *FioTarFirstDir(const char *tarname, Subdirectory subdir); void FioTarAddLink(const char *src, const char *dest, Subdirectory subdir); bool ExtractTar(const char *tar_filename, Subdirectory subdir); -extern char *_personal_dir; ///< custom directory for personal settings, saves, newgrf, etc. +extern const char *_personal_dir; ///< custom directory for personal settings, saves, newgrf, etc. /** Helper for scanning for files with a given name */ class FileScanner { |