From 7b634a092cd77edeaa6ab51f424bc1211af25d7d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 15 Nov 2013 15:26:49 +0100 Subject: Fixed a missing initialization in the c'tor of cSkinLCARSDisplayChannel --- CONTRIBUTORS | 1 + HISTORY | 2 ++ skinlcars.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index fb8e99d5..81e2a370 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2136,6 +2136,7 @@ Marko M 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 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; -- cgit v1.2.3