Fix "Muted%" OSD message when muting sounds via a hotkey

This commit is contained in:
Silent 2019-08-17 12:17:09 +02:00
parent 0a7265f807
commit 12ac784a41
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1
1 changed files with 1 additions and 2 deletions

View File

@ -302,8 +302,7 @@ void HotkeyScheduler::Run()
OSD::AddMessage(std::string("Volume: ") +
(SConfig::GetInstance().m_IsMuted ?
"Muted" :
std::to_string(SConfig::GetInstance().m_Volume)) +
"%");
std::to_string(SConfig::GetInstance().m_Volume) + "%"));
};
// Volume