summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-05-13 13:32:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-05-13 13:32:01 +0200
commit3c512677632ff2ab7dea3fc6f5fd381c9f09d683 (patch)
treeb1c62f44ee11d1228944709c378c8b6e1a605fc7
parent88dc4e335137f13cc4a3cd82c6d15a38c494e969 (diff)
downloadvdr-3c512677632ff2ab7dea3fc6f5fd381c9f09d683.tar.gz
vdr-3c512677632ff2ab7dea3fc6f5fd381c9f09d683.tar.bz2
Fixed initializing channel name when editing a new channel
-rw-r--r--menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 9ace1f69..531e02d3 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 2.22 2010/05/02 14:28:26 kls Exp $
+ * $Id: menu.c 2.23 2010/05/13 13:32:01 kls Exp $
*/
#include "menu.h"
@@ -210,6 +210,7 @@ cMenuEditChannel::cMenuEditChannel(cChannel *Channel, bool New)
{
channel = Channel;
sourceParam = NULL;
+ *name = 0;
if (channel) {
data = *channel;
strn0cpy(name, data.name, sizeof(name));