mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 04:04:09 +01:00
Codechange: use std::string_view for FS2OTTD and OTTD2FS
This commit is contained in:
@@ -342,7 +342,7 @@ static void FiosGetFileList(SaveLoadOperation fop, bool show_dirs, FiosGetTypeAn
|
||||
FiosItem &fios = file_list.emplace_back();
|
||||
fios.type = FIOS_TYPE_DIR;
|
||||
fios.mtime = 0;
|
||||
fios.name = FS2OTTD(dir_entry.path().filename());
|
||||
fios.name = FS2OTTD(dir_entry.path().filename().native());
|
||||
fios.title = GetString(STR_SAVELOAD_DIRECTORY, fios.name + PATHSEP);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user