1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Fix favorite Server List on Windows

This commit is contained in:
Sfan5
2013-05-04 07:31:22 +02:00
parent 8d5b400d09
commit b88aa81da7

View File

@@ -53,7 +53,7 @@ std::vector<ServerListSpec> getLocal()
std::string liststring; std::string liststring;
if(fs::PathExists(path)) if(fs::PathExists(path))
{ {
std::ifstream istream(path.c_str(), std::ios::binary); std::ifstream istream(path.c_str());
if(istream.is_open()) if(istream.is_open())
{ {
std::ostringstream ostream; std::ostringstream ostream;