fixed bug in displayvolumeview

This commit is contained in:
louis
2015-01-08 23:57:10 +01:00
parent 85d3f0efbd
commit 3bbb613609
3 changed files with 3 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ void cDisplayVolumeView::DrawVolume(int current, int total, bool mute) {
intTokens.insert(pair<string,int>("volume", current));
intTokens.insert(pair<string,int>("maxvolume", total));
intTokens.insert(pair<string,int>("volpercent", (double)current *100 / (double)total));
intTokens.insert(pair<string,int>("volumepercent", (double)current *100 / (double)total));
intTokens.insert(pair<string,int>("mute", mute));
ClearViewElement(veVolume);