summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-14 10:26:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-14 10:26:46 +0200
commit2168d734005dde0dc7ce43e17f065fa51a1d2ad7 (patch)
treecfa2d0b9c800555fe5bb6114dd4d06454eb56752
parentb1dad5cb3c01877638086761cf6119d8b4e4db63 (diff)
downloadvdr-2168d734005dde0dc7ce43e17f065fa51a1d2ad7.tar.gz
vdr-2168d734005dde0dc7ce43e17f065fa51a1d2ad7.tar.bz2
Fixed the initial setting of the time transponder setup parameter
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--menuitems.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 7d337a94..1158a487 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1626,6 +1626,7 @@ Thomas Günther <tom1@toms-cafe.de>
for fixing converting arbitrarily formatted summary.vdr files
for making the 'new' indicator in the Recordings menu kept up-to-date
for reporting a crash when setting the time transponder in the Setup menu
+ for reporting a bug in the initial setting of the time transponder setup parameter
David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with
diff --git a/HISTORY b/HISTORY
index 31dc962c..5433ac6e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4508,3 +4508,5 @@ Video Disk Recorder Revision History
- Added NULL checks to some strdup() calls in menuitems.c (suggested by Darren
Salt).
- Removed the unnecessary 'value' member from cMenuEditItem.
+- Fixed the initial setting of the time transponder setup parameter (reported
+ by Thomas Günther).
diff --git a/menuitems.c b/menuitems.c
index 1a362cc2..680ab10f 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.39 2006/04/14 10:02:18 kls Exp $
+ * $Id: menuitems.c 1.40 2006/04/14 10:23:54 kls Exp $
*/
#include "menuitems.h"
@@ -598,7 +598,7 @@ eOSState cMenuEditChanItem::ProcessKey(eKeys Key)
// --- cMenuEditTranItem -----------------------------------------------------
cMenuEditTranItem::cMenuEditTranItem(const char *Name, int *Value, int *Source)
-:cMenuEditChanItem(Name, &number)
+:cMenuEditChanItem(Name, &number, "-")
{
number = 0;
source = Source;