summaryrefslogtreecommitdiff
path: root/fios.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-09 10:56:12 +0000
committerDarkvater <darkvater@openttd.org>2006-12-09 10:56:12 +0000
commitf87c8834e23188f27cd1fd1626c040d3ebafb998 (patch)
tree821bb8da5168e61028bf8fc5f43ea46f076a70e9 /fios.c
parent9a0917141b99cea7703e28af3c46cdbc86f23629 (diff)
downloadopenttd-f87c8834e23188f27cd1fd1626c040d3ebafb998.tar.xz
(svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
Diffstat (limited to 'fios.c')
-rw-r--r--fios.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fios.c b/fios.c
index e7e7d0eba..950e26a23 100644
--- a/fios.c
+++ b/fios.c
@@ -324,7 +324,7 @@ FiosItem *FiosGetSavegameList(int mode)
if (_fios_save_path == NULL) {
_fios_save_path = malloc(MAX_PATH);
- ttd_strlcpy(_fios_save_path, _path.save_dir, MAX_PATH);
+ ttd_strlcpy(_fios_save_path, _paths.save_dir, MAX_PATH);
}
_fios_path = _fios_save_path;
@@ -372,7 +372,7 @@ FiosItem *FiosGetScenarioList(int mode)
if (_fios_scn_path == NULL) {
_fios_scn_path = malloc(MAX_PATH);
- ttd_strlcpy(_fios_scn_path, _path.scenario_dir, MAX_PATH);
+ ttd_strlcpy(_fios_scn_path, _paths.scenario_dir, MAX_PATH);
}
_fios_path = _fios_scn_path;
@@ -403,7 +403,7 @@ FiosItem *FiosGetHeightmapList(int mode)
if (_fios_hmap_path == NULL) {
_fios_hmap_path = malloc(MAX_PATH);
- strcpy(_fios_hmap_path, _path.heightmap_dir);
+ strcpy(_fios_hmap_path, _paths.heightmap_dir);
}
_fios_path = _fios_hmap_path;