aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@2mac.waldobjekt.org>2009-06-26 13:47:12 +0200
committerFelix Domke <tmbinc@2mac.waldobjekt.org>2009-06-26 13:47:12 +0200
commit3853baab1da16b514f58aeeba93fd29a9d1db3d0 (patch)
treebdb1d354b686aaf627927f5c26473b00c1815bc7 /lib
parent69ad5b69a69b3a9006824832afb3fa8cecb061b9 (diff)
downloadenigma2-3853baab1da16b514f58aeeba93fd29a9d1db3d0.tar.gz
enigma2-3853baab1da16b514f58aeeba93fd29a9d1db3d0.zip
only save last time whenever a new event comes up
Diffstat (limited to 'lib')
-rw-r--r--lib/service/servicedvbrecord.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp
index d9cdb516..419c26ba 100644
--- a/lib/service/servicedvbrecord.cpp
+++ b/lib/service/servicedvbrecord.cpp
@@ -493,8 +493,7 @@ void eDVBServiceRecord::gotNewEvent()
eDebug("getting PCR failed!");
else
{
- static int i;
- m_event_timestamps[/* event_id*/ ++i] = p;
+ m_event_timestamps[event_id] = p;
eDebug("pcr of eit change: %llx", p);
}
}