Fixed the initial setting of the time transponder setup parameter

This commit is contained in:
Klaus Schmidinger 2006-04-14 10:26:46 +02:00
parent b1dad5cb3c
commit 2168d73400
3 changed files with 5 additions and 2 deletions

View File

@ -1626,6 +1626,7 @@ Thomas G
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

View File

@ -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).

View File

@ -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;