diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-12-06 21:11:49 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-12-27 13:19:25 +0100 |
commit | 358056ec428d1938b8c9219a60c6fb400115f152 (patch) | |
tree | 428afbedb78158cd174f3c003c70ce3d45d1bea9 /src/fileio_func.h | |
parent | 024a3f62593fd783285c5ff09b8c85ee1fc34e2d (diff) | |
download | openttd-358056ec428d1938b8c9219a60c6fb400115f152.tar.xz |
Codechange: Keep filenames of loaded Fio files in std::strings.
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r-- | src/fileio_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h index 72d461863..014050b4b 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -22,7 +22,7 @@ byte FioReadByte(); uint16 FioReadWord(); uint32 FioReadDword(); void FioCloseAll(); -void FioOpenFile(int slot, const char *filename, Subdirectory subdir); +void FioOpenFile(int slot, const std::string &filename, Subdirectory subdir); void FioReadBlock(void *ptr, size_t size); void FioSkipBytes(int n); |