(svn r25974) -Codechange: make the _personal_dir global const, since once it's set it shouldn't be changed anyhow

This commit is contained in:
rubidium
2013-11-13 18:57:25 +00:00
parent 63e0ff048e
commit def597fe31
2 changed files with 8 additions and 7 deletions

View File

@@ -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 {