From 0b73f060d0a3b72bfac3da139d2cb0e40b1a78bc Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 11 Aug 2001 15:08:14 +0200 Subject: [PATCH] Fixed displaying editing marks when toggling a mark in 'pause' mode --- HISTORY | 1 + menu.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 93b59463..ffe6c263 100644 --- a/HISTORY +++ b/HISTORY @@ -645,3 +645,4 @@ Video Disk Recorder Revision History - Added the "Jump" function in replay mode (thanks to Stefan Huelswitt). See the description of the "Red" key in MANUAL under "Replay Control" for details. +- Fixed displaying editing marks when toggling a mark in "pause" mode. diff --git a/menu.c b/menu.c index c131f195..3610e84f 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.100 2001/08/11 14:30:21 kls Exp $ + * $Id: menu.c 1.101 2001/08/11 15:04:05 kls Exp $ */ #include "menu.h" @@ -2458,6 +2458,7 @@ void cReplayControl::MarkToggle(void) int Current, Total; if (dvbApi->GetIndex(Current, Total, true)) { cMark *m = marks.Get(Current); + lastCurrent = -1; // triggers redisplay if (m) marks.Del(m); else { @@ -2596,7 +2597,7 @@ eOSState cReplayControl::ProcessKey(eKeys Key) } } if (DisplayedFrames && !displayFrames) - Interface->Fill(0, 2, Width() / 2, 1, clrBackground); + Interface->Fill(0, 2, 11, 1, clrBackground); return osContinue; }