diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index e3a74f98..658dc8ea 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -121,7 +121,8 @@ string ConfigFile::readConfigString(string varName, string defaultValue) TiXmlElement* conf = docHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).FirstChild( varName ).ToElement(); if ( conf ) { - conf->QueryValueAttribute("value", &tempString ); + tempString = conf->Attribute("value"); + cout << tempString << "\n"; } else { //Wenn nicht gefunden eines neues Anlegen TiXmlElement* config = docHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).ToElement();