summaryrefslogtreecommitdiff
path: root/tvguideosd.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-01-09 14:06:59 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-01-09 14:30:05 +0100
commit15b7074b4ef2c6d947281247e8f40c2ce85690da (patch)
tree96629e0fa6087fb3ee62c818338a381848f24867 /tvguideosd.c
parent3fee6ab13f8372c1501d56916324cc95bcf06385 (diff)
downloadvdr-plugin-tvguide-15b7074b4ef2c6d947281247e8f40c2ce85690da.tar.gz
vdr-plugin-tvguide-15b7074b4ef2c6d947281247e8f40c2ce85690da.tar.bz2
Separate "displayTime" for horizontal and vertical view
Diffstat (limited to 'tvguideosd.c')
-rw-r--r--tvguideosd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tvguideosd.c b/tvguideosd.c
index ba2d606..3a7f7e1 100644
--- a/tvguideosd.c
+++ b/tvguideosd.c
@@ -638,19 +638,19 @@ void cTvGuideOsd::processNumKey(int numKey) {
void cTvGuideOsd::TimeJump(int mode) {
switch (mode) {
case 1: {
- timeManager->DelStep(config.bigStepHours * 60);
+ timeManager->DelStep(((config.displayMode == eVertical) ? config.bigStepHours : config.bigStepHoursHorizontal) * 60);
}
break;
case 3: {
- timeManager->AddStep(config.bigStepHours * 60);
+ timeManager->AddStep(((config.displayMode == eVertical) ? config.bigStepHours : config.bigStepHoursHorizontal) * 60);
}
break;
case 4: {
- timeManager->DelStep(config.hugeStepHours * 60);
+ timeManager->DelStep(((config.displayMode == eVertical) ? config.hugeStepHours : config.hugeStepHoursHorizontal) * 60);
}
break;
case 6: {
- timeManager->AddStep(config.hugeStepHours * 60);
+ timeManager->AddStep(((config.displayMode == eVertical) ? config.hugeStepHours : config.hugeStepHoursHorizontal) * 60);
}
break;
case 7: {