1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a crash when setting the time transponder in the Setup menu, caused by the new 'noneString' in cMenuEditChanItem

This commit is contained in:
Klaus Schmidinger 2006-04-14 09:53:46 +02:00
parent c2448acaaa
commit cb50726989
3 changed files with 5 additions and 2 deletions

View File

@ -1624,6 +1624,7 @@ Thomas G
can use it can use it
for fixing converting arbitrarily formatted summary.vdr files for fixing converting arbitrarily formatted summary.vdr files
for making the 'new' indicator in the Recordings menu kept up-to-date 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
David Woodhouse <dwmw2@infradead.org> David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with

View File

@ -4503,3 +4503,5 @@ Video Disk Recorder Revision History
2006-04-14: Version 1.3.47 2006-04-14: Version 1.3.47
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed a crash when setting the time transponder in the Setup menu, caused by the
new 'noneString' in cMenuEditChanItem (reported by Thomas Günther).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menuitems.c 1.36 2006/04/09 12:05:05 kls Exp $ * $Id: menuitems.c 1.37 2006/04/14 09:53:46 kls Exp $
*/ */
#include "menuitems.h" #include "menuitems.h"
@ -572,7 +572,7 @@ void cMenuEditChanItem::Set(void)
snprintf(buf, sizeof(buf), "%d %s", *value, channel ? channel->Name() : ""); snprintf(buf, sizeof(buf), "%d %s", *value, channel ? channel->Name() : "");
SetValue(buf); SetValue(buf);
} }
else else if (noneString)
SetValue(noneString); SetValue(noneString);
} }