Commit 937e14f4 authored by xiaoye's avatar xiaoye

Update data_manager.cpp

parent e2d19979
...@@ -179,6 +179,7 @@ void DataManager::ReadStringConfLine(const char* linebuf) { ...@@ -179,6 +179,7 @@ void DataManager::ReadStringConfLine(const char* linebuf) {
} }
} }
bool DataManager::LoadServerList(const char* file) { bool DataManager::LoadServerList(const char* file) {
if (_serverStrings.empty())
_serverStrings.emplace_back(L"清空", L""); _serverStrings.emplace_back(L"清空", L"");
FILE* fp = myfopen(file, "r"); FILE* fp = myfopen(file, "r");
if(!fp) if(!fp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment