From dfb9862460bdbc326d03574b79ddefb1d0d8dfd2 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 15 Nov 2013 15:23:43 +0100 Subject: Fixed a missing initialization in the c'tor of cSkinLCARSDisplayChannel --- CONTRIBUTORS | 1 + HISTORY | 4 +++- skinlcars.c | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c65afe8d..19da89bc 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2146,6 +2146,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 e7b02667..551bbfeb 100644 --- a/HISTORY +++ b/HISTORY @@ -8032,7 +8032,7 @@ Video Disk Recorder Revision History the last replayed recording (if any) by pressing Ok repeatedly in the Recordings menu. -2013-11-11: Version 2.1.3 +2013-11-15: Version 2.1.3 - Changed the return value of cPositioner::HorizonLongitude() to 0 in case the latitude of the antenna location is beyond +/-81 degrees. @@ -8059,3 +8059,5 @@ Video Disk Recorder Revision History recording). - Removed '_' from the FileNameChars and CharMap translations in uk_UA.po. - Updated the Italian OSD texts (thanks to Diego Pierotto). +- Fixed a missing initialization in the c'tor of cSkinLCARSDisplayChannel (thanks to + Marko Mäkelä). diff --git a/skinlcars.c b/skinlcars.c index 23eafa10..2cebb157 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 3.3 2013/08/18 13:45:36 kls Exp $ + * $Id: skinlcars.c 3.4 2013/11/15 15:21:00 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -1775,6 +1775,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