Fix the XLX Slot parameter.

This commit is contained in:
Jonathan Naylor
2017-04-29 09:47:02 +01:00
parent 80ef1757c0
commit 2fd934fd6a

View File

@@ -108,7 +108,7 @@ bool CConf::read()
if (section == SECTION_GENERAL) {
if (::strcmp(key, "Daemon") == 0)
m_daemon = ::atoi(value) == 1;
else if (::strcmp(key, "XLSSlot") == 0)
else if (::strcmp(key, "XLXSlot") == 0)
m_xlxSlot = (unsigned int)::atoi(value);
else if (::strcmp(key, "XLXTG") == 0)
m_xlxTG = (unsigned int)::atoi(value);