Commit a55448df authored by Romain Bignon's avatar Romain Bignon

fix parsing country names

parent f90bb5e6
...@@ -892,7 +892,7 @@ void ECBMap::Init() ...@@ -892,7 +892,7 @@ void ECBMap::Init()
{ {
std::string id = stringtok(ligne, " "); std::string id = stringtok(ligne, " ");
std::string owner = stringtok(ligne, " "); std::string owner = stringtok(ligne, " ");
std::string name = stringtok(ligne, " "); std::string name = ligne;
if (id.size() != 2 || owner.empty()) if (id.size() != 2 || owner.empty())
throw ECExcept(VName(id) VName(owner), "Not enough parameters for this country"); throw ECExcept(VName(id) VName(owner), "Not enough parameters for this country");
......
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