diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:54:30 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:54:30 +0000 |
commit | 95bb103a233c9986777897c0d8b26f6f7c1cf08f (patch) | |
tree | b3cd0327b26c3f7016d96a6b11d78f616a7b030a /src/os/os2 | |
parent | caf33797463560617526cbb38eac5e8b77eda242 (diff) | |
download | openttd-95bb103a233c9986777897c0d8b26f6f7c1cf08f.tar.xz |
(svn r27643) -Codechange: FiosGetDrives function also takes a destination file list.
Diffstat (limited to 'src/os/os2')
-rw-r--r-- | src/os/os2/os2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/os2/os2.cpp b/src/os/os2/os2.cpp index 386cc4dbb..7b34f528a 100644 --- a/src/os/os2/os2.cpp +++ b/src/os/os2/os2.cpp @@ -45,7 +45,7 @@ bool FiosIsRoot(const char *file) return file[3] == '\0'; } -void FiosGetDrives() +void FiosGetDrives(FileList &file_list) { uint disk, disk2, save, total; @@ -75,7 +75,7 @@ void FiosGetDrives() #endif if (disk == disk2) { - FiosItem *fios = _fios_items.Append(); + FiosItem *fios = file_list.Append(); fios->type = FIOS_TYPE_DRIVE; fios->mtime = 0; #ifndef __INNOTEK_LIBC__ |