summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geometrymanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometrymanager.c b/geometrymanager.c
index 549da73..9f2e9fb 100644
--- a/geometrymanager.c
+++ b/geometrymanager.c
@@ -162,7 +162,7 @@ void cGeometryManager::SetDisplayVolumeSizes(void) {
volumeHeight = osdHeight * config.volumeHeight / 100;
volumeLabelHeight = volumeHeight/3;
volumeProgressBarWidth = 0.9 * volumeWidth;
- volumeProgressBarHeight = 0.3 * volumeWidth;
+ volumeProgressBarHeight = 0.3 * volumeHeight;
if (volumeProgressBarHeight%2 != 0)
volumeProgressBarHeight++;
}