mirror of https://github.com/PCSX2/pcsx2.git
Revert bad wxString ini fix which was actually caused by a bad Arch package
This commit is contained in:
parent
f6c138ca7e
commit
deed83a282
|
@ -170,7 +170,7 @@ void IniLoader::Entry(const wxString &var, uint &value, const uint defvalue)
|
|||
void IniLoader::Entry(const wxString &var, bool &value, const bool defvalue)
|
||||
{
|
||||
// TODO : Stricter value checking on enabled/disabled?
|
||||
wxString dest(defvalue ? "enabled" : "disabled", 8);
|
||||
wxString dest(defvalue ? L"enabled" : L"disabled");
|
||||
if (m_Config)
|
||||
m_Config->Read(var, &dest, dest);
|
||||
value = (dest == L"enabled") || (dest == L"1");
|
||||
|
|
Loading…
Reference in New Issue