From 301b8ff21bccd136e48f2a63f943d69a9ef9c67f Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 29 Sep 2013 15:26:20 +0200 Subject: fixed a bug in volume display --- geometrymanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- cgit v1.2.3