mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 02:41:50 +02:00
bug fix for font handling of newlines and added unit test
This commit is contained in:
@@ -293,8 +293,12 @@ void MenuStateLoadGame::mouseClick(int x, int y, MouseButton mouseButton){
|
||||
|
||||
if(fileExists(filename) == true) {
|
||||
// Xerces is infinitely slower than rapidxml
|
||||
xml_engine_parser_type engine_type = XML_RAPIDXML_ENGINE;
|
||||
if(Config::getInstance().getBool("ForceXMLLoadGameUsingXerces") == true) {
|
||||
engine_type = XML_XERCES_ENGINE;
|
||||
}
|
||||
// XmlTree xmlTree(XML_XERCES_ENGINE);
|
||||
XmlTree xmlTree(XML_RAPIDXML_ENGINE);
|
||||
XmlTree xmlTree(engine_type);
|
||||
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("Before load of XML\n");
|
||||
std::map<string,string> mapExtraTagReplacementValues;
|
||||
|
Reference in New Issue
Block a user