summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-11-15 15:26:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-11-15 15:26:49 +0100
commit7b634a092cd77edeaa6ab51f424bc1211af25d7d (patch)
tree88ce96f359c7cd48b32b500040d14d2fc753cb93
parent25e05054a6a597c87910207f2030c04992cbfb0d (diff)
downloadvdr-7b634a092cd77edeaa6ab51f424bc1211af25d7d.tar.gz
vdr-7b634a092cd77edeaa6ab51f424bc1211af25d7d.tar.bz2
Fixed a missing initialization in the c'tor of cSkinLCARSDisplayChannel
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--skinlcars.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index fb8e99d5..81e2a370 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2136,6 +2136,7 @@ Marko Mäkelä <marko.makela@hut.fi>
pressed in string input fields
for fixing missing ',' in the Italian and Polish OSD texts
for pointing out that "Menu button closes" should actually be "Menu key closes"
+ for fixing a missing initialization in the c'tor of cSkinLCARSDisplayChannel
Patrick Rother <krd-vdr@gulu.net>
for reporting a bug in defining timers that only differ in the day of week
diff --git a/HISTORY b/HISTORY
index fcee88a8..fcd81942 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7858,3 +7858,5 @@ Video Disk Recorder Revision History
- The LIRC remote control now connects to the socket even if it doesn't yet exist when
VDR is started (thanks to Lars Hanisch).
+- Fixed a missing initialization in the c'tor of cSkinLCARSDisplayChannel (thanks to
+ Marko Mäkelä).
diff --git a/skinlcars.c b/skinlcars.c
index 3ed8225a..172bc9ca 100644
--- a/skinlcars.c
+++ b/skinlcars.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinlcars.c 2.21.1.1 2013/05/19 12:08:52 kls Exp $
+ * $Id: skinlcars.c 2.21.1.2 2013/11/15 15:25:11 kls Exp $
*/
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
@@ -1710,6 +1710,7 @@ cSkinLCARSDisplayReplay::cSkinLCARSDisplayReplay(bool ModeOnly)
frameColor = Theme.Color(clrReplayFrameBg);
lastCurrentWidth = 0;
lastTotalWidth = 0;
+ memset(&lastTrackId, 0, sizeof(lastTrackId));
int d = 5 * lineHeight;
xp00 = 0;
xp01 = xp00 + d / 2;