summaryrefslogtreecommitdiff
path: root/src/serverlist.cpp
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2013-05-04 07:31:22 +0200
committerSfan5 <sfan5@live.de>2013-05-04 07:31:22 +0200
commitb88aa81da7031ddb228e8901071b5adf2980c7ed (patch)
treed485e6dbc7067ffa122c65555ea325e0c2b06f45 /src/serverlist.cpp
parent8d5b400d09cf79271bef19ccd69024316c80e39d (diff)
downloadminetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.tar.gz
minetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.tar.bz2
minetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.zip
Fix favorite Server List on Windows
Diffstat (limited to 'src/serverlist.cpp')
-rw-r--r--src/serverlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp
index 7053436d0..ea5a616c2 100644
--- a/src/serverlist.cpp
+++ b/src/serverlist.cpp
@@ -53,7 +53,7 @@ std::vector<ServerListSpec> getLocal()
std::string liststring;
if(fs::PathExists(path))
{
- std::ifstream istream(path.c_str(), std::ios::binary);
+ std::ifstream istream(path.c_str());
if(istream.is_open())
{
std::ostringstream ostream;