Line breaks are now filtered out from systems names and system full names if specified as such in the es_systems.xml file.

This commit is contained in:
Leon Styhre 2022-10-08 10:02:12 +02:00
parent d927135034
commit a142da3d34

View file

@ -490,8 +490,8 @@ bool SystemData::loadConfig()
std::string path; std::string path;
std::string themeFolder; std::string themeFolder;
name = system.child("name").text().get(); name = Utils::String::replace(system.child("name").text().get(), "\n", "");
fullname = system.child("fullname").text().get(); fullname = Utils::String::replace(system.child("fullname").text().get(), "\n", "");
sortName = system.child("systemsortname").text().get(); sortName = system.child("systemsortname").text().get();
path = system.child("path").text().get(); path = system.child("path").text().get();