diff --git a/src/PlayerOptions.cpp b/src/PlayerOptions.cpp index cd54760766..0fb3eb397e 100644 --- a/src/PlayerOptions.cpp +++ b/src/PlayerOptions.cpp @@ -572,12 +572,12 @@ void PlayerOptions::GetMods( vector &AddTo, bool bForceNoteSkin ) const std::stringstream ss; bool is_first = true; ss << "No "; - for (int i=TW_W1; i != TW_W5; ++i) { + for (int i=TW_W1; i <= TW_W5; ++i) { if (m_twDisabledWindows[i]) { if (!is_first) { ss << "/"; } else { - is_first = true; + is_first = false; } ss << TimingWindowToString(static_cast(i)).c_str(); }