summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-17 22:21:05 +0000
committerrubidium <rubidium@openttd.org>2007-03-17 22:21:05 +0000
commit7fb3b4f83e9348c87924dd258afdb51a724467b7 (patch)
treec3c942e6a51b78268b05e750417a6ee0b7118f2b /src/fileio.cpp
parentabf601a1eff12888b282e8278fce26edb18fcb2f (diff)
downloadopenttd-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.cpp1
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