Re-enable some .ini/.xml loading on QuirksMode.

Soon up, setting that for the other places.
This commit is contained in:
Jason Felds
2011-05-20 21:26:22 -04:00
parent bc35a75672
commit 0227607342
+4 -2
View File
@@ -496,7 +496,8 @@ bool SMLoader::LoadFromBGChangesString( BackgroundChange &change, const RString
{ {
RString tmp = aBGChangeValues[7]; RString tmp = aBGChangeValues[7];
tmp.MakeLower(); tmp.MakeLower();
if( tmp.find(".ini") != string::npos || tmp.find(".xml") != string::npos ) if( ( tmp.find(".ini") != string::npos || tmp.find(".xml") != string::npos )
&& !PREFSMAN->m_bQuirksMode )
{ {
return false; return false;
} }
@@ -539,7 +540,8 @@ bool SMLoader::LoadFromBGChangesString( BackgroundChange &change, const RString
{ {
RString tmp = aBGChangeValues[1]; RString tmp = aBGChangeValues[1];
tmp.MakeLower(); tmp.MakeLower();
if( tmp.find(".ini") != string::npos || tmp.find(".xml") != string::npos ) if( ( tmp.find(".ini") != string::npos || tmp.find(".xml") != string::npos )
&& !PREFSMAN->m_bQuirksMode )
{ {
return false; return false;
} }