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 | b30f46f2748625af8509ac2839e0b8fd20af4891 (patch) | |
tree | c3c942e6a51b78268b05e750417a6ee0b7118f2b /src/fileio.cpp | |
parent | dfdb302cb344e644d5d1019b74b577003bac1fdd (diff) | |
download | openttd-b30f46f2748625af8509ac2839e0b8fd20af4891.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 |