From 7da0737bfe55577e2df2db79dc0e3ab8f74cb2dc Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 9 Jan 2015 00:02:53 +0100 Subject: [PATCH] reverted --- skins/blackhole/xmlfiles/displayvolume.xml | 2 +- views/displayvolumeview.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/blackhole/xmlfiles/displayvolume.xml b/skins/blackhole/xmlfiles/displayvolume.xml index 3415a4b..1b886ad 100644 --- a/skins/blackhole/xmlfiles/displayvolume.xml +++ b/skins/blackhole/xmlfiles/displayvolume.xml @@ -23,7 +23,7 @@ - + diff --git a/views/displayvolumeview.c b/views/displayvolumeview.c index e3700dd..4ab2fdd 100644 --- a/views/displayvolumeview.c +++ b/views/displayvolumeview.c @@ -40,7 +40,7 @@ void cDisplayVolumeView::DrawVolume(int current, int total, bool mute) { intTokens.insert(pair("volume", current)); intTokens.insert(pair("maxvolume", total)); - intTokens.insert(pair("volumepercent", (double)current *100 / (double)total)); + intTokens.insert(pair("volpercent", (double)current *100 / (double)total)); intTokens.insert(pair("mute", mute)); ClearViewElement(veVolume);