diff options
author | Sfan5 <sfan5@live.de> | 2013-05-04 07:31:22 +0200 |
---|---|---|
committer | Sfan5 <sfan5@live.de> | 2013-05-04 07:31:22 +0200 |
commit | b88aa81da7031ddb228e8901071b5adf2980c7ed (patch) | |
tree | d485e6dbc7067ffa122c65555ea325e0c2b06f45 /src | |
parent | 8d5b400d09cf79271bef19ccd69024316c80e39d (diff) | |
download | minetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.tar.gz minetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.tar.bz2 minetest-b88aa81da7031ddb228e8901071b5adf2980c7ed.zip |
Fix favorite Server List on Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/serverlist.cpp | 2 |
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; |