(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.

This commit is contained in:
rubidium
2007-05-30 18:24:54 +00:00
parent 734a302fd1
commit b5915a25df
3 changed files with 15 additions and 13 deletions

View File

@@ -359,10 +359,10 @@ void DeterminePaths(const char *exe)
{
DetermineBasePaths(exe);
_paths.save_dir = str_fmt("%ssave", _paths.personal_dir);
_paths.autosave_dir = str_fmt("%s" PATHSEP "autosave", _paths.save_dir);
_paths.scenario_dir = str_fmt("%sscenario", _paths.personal_dir);
_paths.heightmap_dir = str_fmt("%s" PATHSEP "heightmap", _paths.scenario_dir);
_paths.save_dir = str_fmt("%ssave" PATHSEP, _paths.personal_dir);
_paths.autosave_dir = str_fmt("%s" PATHSEP "autosave" PATHSEP, _paths.save_dir);
_paths.scenario_dir = str_fmt("%sscenario" PATHSEP, _paths.personal_dir);
_paths.heightmap_dir = str_fmt("%s" PATHSEP "heightmap" PATHSEP, _paths.scenario_dir);
_paths.gm_dir = str_fmt("%sgm" PATHSEP, _paths.game_data_dir);
_paths.data_dir = str_fmt("%sdata" PATHSEP, _paths.game_data_dir);
#if defined(CUSTOM_LANG_DIR)