From cb50726989e1e8a12762703cb1c9072fb0171bbd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 14 Apr 2006 09:53:46 +0200 Subject: Fixed a crash when setting the time transponder in the Setup menu, caused by the new 'noneString' in cMenuEditChanItem --- menuitems.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menuitems.c') 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); } -- cgit v1.2.3