diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-12-06 21:11:50 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-12-27 13:19:25 +0100 |
commit | b408fe77f792650ef569f9852165759f960fd52f (patch) | |
tree | 6d1f0a134da31bd1d53dee052721d78955d688e6 /src/saveload | |
parent | 358056ec428d1938b8c9219a60c6fb400115f152 (diff) | |
download | openttd-b408fe77f792650ef569f9852165759f960fd52f.tar.xz |
Codechange: Use std::string in file scanners.
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index 09f15e183..42970c9a2 100644 --- a/src/saveload/oldloader.cpp +++ b/src/saveload/oldloader.cpp @@ -317,7 +317,7 @@ bool LoadOldSaveGame(const std::string &file) return true; } -void GetOldSaveGameName(const char *file, char *title, const char *last) +void GetOldSaveGameName(const std::string &file, char *title, const char *last) { FILE *f = FioFOpenFile(file, "rb", NO_DIRECTORY); |