- last theme layout fix that I missed way back in r101

This commit is contained in:
fledge68 2012-03-01 16:13:24 +00:00
parent ef879da2d1
commit 151eca94a2

View File

@ -379,7 +379,7 @@ void CMenu::_game(bool launch)
{
s8 direction = BTN_1_PRESSED ? 1 : -1;
const char *domain = _domainFromView();
int cfVersion = loopNum(m_cfg.getInt(domain, "last_cf_mode" , 1) + direction, m_numCFVersions);
int cfVersion = 1+loopNum((m_cfg.getInt(domain, "last_cf_mode", 1)-1) + direction, m_numCFVersions);
_loadCFLayout(cfVersion);
m_cf.applySettings();
m_cfg.setInt(domain, "last_cf_mode" , cfVersion);