summaryrefslogtreecommitdiff
path: root/geometrymanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'geometrymanager.c')
-rw-r--r--geometrymanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometrymanager.c b/geometrymanager.c
index 72befa4..b8779a1 100644
--- a/geometrymanager.c
+++ b/geometrymanager.c
@@ -49,7 +49,7 @@ bool cGeometryManager::SetGeometry(int osdWidth, int osdHeight, bool force) {
} else if (tvguideConfig.displayMode == eHorizontal) {
colWidth = 0;
rowHeight = (osdHeight - statusHeaderHeight - timeLineHeight - footerHeight) / tvguideConfig.channelRows;
- minutePixel = (osdWidth - channelHeaderWidth - channelGroupsWidth) / tvguideConfig.displayTime;
+ minutePixel = (osdWidth - channelHeaderWidth - channelGroupsWidth) / tvguideConfig.displayHorizontalTime;
channelLogoWidth = channelHeaderWidth;
channelLogoHeight = rowHeight;
logoWidth = channelLogoHeight * tvguideConfig.logoWidthRatio / tvguideConfig.logoHeightRatio;