From 5053467e6cf3441d2c1a51fade1fd0e79f9d514b Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 22 Jan 2007 22:35:35 +0000 Subject: [PATCH] --- src/config/configfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();