diff options
author | rubidium <rubidium@openttd.org> | 2007-03-17 22:21:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-17 22:21:05 +0000 |
commit | 7fb3b4f83e9348c87924dd258afdb51a724467b7 (patch) | |
tree | c3c942e6a51b78268b05e750417a6ee0b7118f2b /src/fileio.cpp | |
parent | abf601a1eff12888b282e8278fce26edb18fcb2f (diff) | |
download | openttd-7fb3b4f83e9348c87924dd258afdb51a724467b7.tar.xz |
(svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths).
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r-- | src/fileio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index 3e718e6da..a578d05fe 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -362,6 +362,7 @@ void DeterminePaths(const char *exe) /* Sets the search path for lng files to the custom one */ _paths.lang_dir = MallocT<char>(MAX_PATH); ttd_strlcpy(_paths.lang_dir, CUSTOM_LANG_DIR, MAX_PATH); + AppendPathSeparator(_paths.lang_dir, MAX_PATH); #else _paths.lang_dir = str_fmt("%slang" PATHSEP, _paths.game_data_dir); #endif |