summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-11 15:08:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-11 15:08:14 +0200
commit0b73f060d0a3b72bfac3da139d2cb0e40b1a78bc (patch)
tree8305ccf386c005c1f397c76ce0a138f7743ba09d
parent2069b9946ea0c561d5c65bfc19baa202edeeaa91 (diff)
downloadvdr-0b73f060d0a3b72bfac3da139d2cb0e40b1a78bc.tar.gz
vdr-0b73f060d0a3b72bfac3da139d2cb0e40b1a78bc.tar.bz2
Fixed displaying editing marks when toggling a mark in 'pause' mode
-rw-r--r--HISTORY1
-rw-r--r--menu.c5
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;
}