From 1d417431d675168fc56c2e9f8a9ea56a2768d7c7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Apr 2008 12:47:58 +0200 Subject: Fixed initializing the timer's flags in the cTimer copy constructor --- CONTRIBUTORS | 1 + HISTORY | 2 ++ timers.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index ec85697c..23d3dc44 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -960,6 +960,7 @@ Andreas Mair for making the SVDRP command LSTC list the channels with group separators if the option ':groups' is given for fixing handling 3 and 4 byte UTF-8 symbols in Utf8CharGet() + for fixing initializing the timer's flags in the cTimer copy constructor Olivier Jacques ) for translating OSD texts to the French language diff --git a/HISTORY b/HISTORY index d6193810..221ed6ee 100644 --- a/HISTORY +++ b/HISTORY @@ -5736,3 +5736,5 @@ Video Disk Recorder Revision History Nissl). - Improved logging system time changes to avoid problems on slow systems under heavy load (suggested by Helmut Auer). +- Fixed initializing the timer's flags in the cTimer copy constructor (thanks to + Andreas Mair). diff --git a/timers.c b/timers.c index c76511e8..356d8791 100644 --- a/timers.c +++ b/timers.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.73 2008/02/16 14:47:40 kls Exp $ + * $Id: timers.c 1.73.1.1 2008/04/13 12:47:12 kls Exp $ */ #include "timers.h" @@ -92,6 +92,7 @@ cTimer::cTimer(const cTimer &Timer) channel = NULL; aux = NULL; event = NULL; + flags = tfNone; *this = Timer; } -- cgit v1.2.3