mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix favorite Server List on Windows
This commit is contained in:
parent
8d5b400d09
commit
b88aa81da7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue