Codechange: Use std::string in file scanners.

This commit is contained in:
Michael Lutz
2020-12-06 21:11:50 +01:00
parent 358056ec42
commit b408fe77f7
16 changed files with 91 additions and 132 deletions

View File

@@ -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);