From 649418abe9f64e43868a8f75ebcadf2a4971a43c Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 5 May 2007 20:13:24 +0000 Subject: [PATCH] buggy!!! --- src/config/configfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index a036c3cd..5a141244 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -113,7 +113,7 @@ ConfigFile::ConfigFile(bool configFirstStart) //Prüfen ob Configfile existiert --> sonst anlegen TiXmlDocument doc(configFileName); if(!doc.LoadFile()){ - CONFIGSTATE = INEXISTENT; + CONFIGSTATE = Inexistens; updateConfig(CONFIGSTATE); } else { @@ -123,7 +123,7 @@ ConfigFile::ConfigFile(bool configFirstStart) TiXmlElement* conf = docHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).FirstChild( "ConfigRevision" ).ToElement(); if ( conf ) { conf->QueryIntAttribute("value", &temp ); } if (temp < configRev) { /*löschen()*/ - CONFIGSTATE = OLD; + CONFIGSTATE = Old; updateConfig(CONFIGSTATE) ; } }