Changeset - r25144:a6cb30ee148e
[Not reviewed]
master
0 1 0
Loïc Guilloux - 3 years ago 2021-04-10 09:15:47
glx22@users.noreply.github.com
Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't exist (#8985)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ini.cpp
Show inline comments
 
@@ -53,7 +53,7 @@ bool IniFile::SaveToDisk(const std::stri
 
	std::string file_new{ filename };
 
	file_new.append(".new");
 

	
 
	std::ofstream os(OTTD2FS(file_new));
 
	std::ofstream os(OTTD2FS(file_new).c_str());
 
	if (os.fail()) return false;
 

	
 
	for (const IniGroup *group = this->group; group != nullptr; group = group->next) {
0 comments (0 inline, 0 general)