From 7fb3b4f83e9348c87924dd258afdb51a724467b7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 17 Mar 2007 22:21:05 +0000 Subject: (svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths). --- src/fileio.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fileio.cpp') 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(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 -- cgit v1.2.3-54-g00ecf