diff --git a/common/src/Utilities/IniInterface.cpp b/common/src/Utilities/IniInterface.cpp index 51d5276641..1c32c09612 100644 --- a/common/src/Utilities/IniInterface.cpp +++ b/common/src/Utilities/IniInterface.cpp @@ -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 ? L"enabled" : L"disabled"); + wxString dest(defvalue ? L"enabled" : L"disabled"); if (m_Config) m_Config->Read(var, &dest, dest); value = (dest == L"enabled") || (dest == L"1");