Re-enable some .ini/.xml loading on QuirksMode.
Soon up, setting that for the other places.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user