From 6b747233362eccf5e6f9609e852f7f1cb42c49b1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 25 Feb 2006 10:29:37 +0100 Subject: [PATCH] The "Ok" key in the "Jump" mode of the replay progress display now confirms the jump instead of closing the display --- CONTRIBUTORS | 4 ++++ HISTORY | 2 ++ menu.c | 5 +++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f4da9c69..257cec3f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1758,3 +1758,7 @@ Ronny Kornexl Bárta Vladimír for translating OSD texts to the Czech language + +Christoph Haubrich + for making the "Ok" key in the "Jump" mode of the replay progress display confirm + the jump instead of closing the display diff --git a/HISTORY b/HISTORY index 03b70bea..e90e6ed8 100644 --- a/HISTORY +++ b/HISTORY @@ -4369,3 +4369,5 @@ Video Disk Recorder Revision History one that fits the input (thanks to Joachim Wilke). - Fixed the 'libsi' function CharArray::checkSize(), which made a previous workaround in libsi/descriptor.c obsolete (thanks to Marcel Wiesweg). +- The "Ok" key in the "Jump" mode of the replay progress display now confirms the + jump instead of closing the display (thanks to Christoph Haubrich). diff --git a/menu.c b/menu.c index 23e0a0cb..bef2431d 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.415 2006/02/24 14:56:18 kls Exp $ + * $Id: menu.c 1.416 2006/02/25 10:27:03 kls Exp $ */ #include "menu.h" @@ -3938,8 +3938,9 @@ void cReplayControl::TimeSearchProcess(eKeys Key) case kUp: case kPause: case kDown: + case kOk: Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds); - Goto(Seconds * FRAMESPERSEC, Key == kDown || Key == kPause); + Goto(Seconds * FRAMESPERSEC, Key == kDown || Key == kPause || Key == kOk); timeSearchActive = false; break; default: