diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-14 09:53:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-14 09:53:46 +0200 |
commit | cb50726989e1e8a12762703cb1c9072fb0171bbd (patch) | |
tree | a0176abd8d566e19dd83194f7b0803a8d678e53a /menuitems.c | |
parent | c2448acaaaef8b17a798eea70f7a7422da93cdf7 (diff) | |
download | vdr-cb50726989e1e8a12762703cb1c9072fb0171bbd.tar.gz vdr-cb50726989e1e8a12762703cb1c9072fb0171bbd.tar.bz2 |
Fixed a crash when setting the time transponder in the Setup menu, caused by the new 'noneString' in cMenuEditChanItem
Diffstat (limited to 'menuitems.c')
-rw-r--r-- | menuitems.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/menuitems.c b/menuitems.c index 0c368284..12d56963 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.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" @@ -572,7 +572,7 @@ void cMenuEditChanItem::Set(void) snprintf(buf, sizeof(buf), "%d %s", *value, channel ? channel->Name() : ""); SetValue(buf); } - else + else if (noneString) SetValue(noneString); } |