summaryrefslogtreecommitdiff
path: root/geometrymanager.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-09 13:31:42 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-09 15:06:39 +0200
commit0975e97519401a2d5a76c04795453d5650798ba4 (patch)
tree90127de74d884e19292195f73bf847d0c9af776c /geometrymanager.c
parent929d8db9bac0d1f7d698650b59d2b2e1aa4c6320 (diff)
downloadvdr-plugin-tvguide-0975e97519401a2d5a76c04795453d5650798ba4.tar.gz
vdr-plugin-tvguide-0975e97519401a2d5a76c04795453d5650798ba4.tar.bz2
Different setup parameter for displayTime in horizontal and vertical 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;