Fixed that !Toggle causes infinite loop

This commit is contained in:
spx 2013-06-05 01:05:02 +09:00
parent f1a77bb482
commit c6ec9093b7

View File

@ -826,7 +826,7 @@ void MeterWindow::DoBang(Bang bang, const std::vector<std::wstring>& args)
break;
case Bang::Toggle:
DoBang(m_Hidden ? Bang::Show : Bang::Toggle, args);
DoBang(m_Hidden ? Bang::Show : Bang::Hide, args);
break;
case Bang::ShowFade: