summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 18:31:22 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 18:31:22 +0100
commit03438a82e284cfd458954de53cca44af6e3fe1ee (patch)
treef72c5de3c73078497c1d86e10221cd349170c303
parent0304f30425f3c9cc4bcb422ce5e2860225f1b93b (diff)
downloadskin-flatplus-03438a82e284cfd458954de53cca44af6e3fe1ee.tar.gz
skin-flatplus-03438a82e284cfd458954de53cca44af6e3fe1ee.tar.bz2
fix topbar number recordings
-rw-r--r--HISTORY3
-rw-r--r--baserender.c2
-rw-r--r--displaymenu.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 51abdadc..048714c1 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
VDR Plugin 'skinflatplus' Revision History
---------------------------------------
+2014-XX-XX: Version 0.5.1
+- [fix] topbar number recordings
+
2014-12-04: Version 0.5.0
- [fix] femon receiver - do not get data from previous channel
- [fix] display replay jump text position
diff --git a/baserender.c b/baserender.c
index 64667b84..fa0ff10a 100644
--- a/baserender.c
+++ b/baserender.c
@@ -383,7 +383,7 @@ void cFlatBaseRender::TopBarUpdate(void) {
if( Config.TopBarRecordingShow ) {
// look for timers
for(cTimer *ti = Timers.First(); ti; ti = Timers.Next(ti)) {
- if( ti->Matches(t) ) {
+ if( ti->HasFlags(tfRecording) ) {
numRec++;
}
}
diff --git a/displaymenu.c b/displaymenu.c
index b034c417..07ce4f17 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -4106,7 +4106,7 @@ int cFlatDisplayMenu::DrawMainMenuWidgetActiveTimers(int wLeft, int wWidth, int
time(&t);
int index = 0, numRec = 0;
for(cTimer *ti = Timers.First(); ti && index < Config.MainMenuWidgetActiveTimerMaxCount; ti = Timers.Next(ti), index++) {
- if( ti->Matches(t) && ti->HasFlags(tfActive) ) {
+ if( ti->Matches(t) && ti->HasFlags(tfRecording) ) {
numRec++;
}
}