summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-14 09:53:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-14 09:53:46 +0200
commitcb50726989e1e8a12762703cb1c9072fb0171bbd (patch)
treea0176abd8d566e19dd83194f7b0803a8d678e53a /menuitems.c
parentc2448acaaaef8b17a798eea70f7a7422da93cdf7 (diff)
downloadvdr-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.c4
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);
}