diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-06-15 12:29:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-06-15 12:29:56 +0200 |
commit | 8635511b282f8a19db8ef3211b80767efcff74b4 (patch) | |
tree | b6361447d09d035fc985364ec6c7f55674f94253 /menu.c | |
parent | bc16b8af539b3653a95e6345a8dddd444a4cab1e (diff) | |
download | vdr-8635511b282f8a19db8ef3211b80767efcff74b4.tar.gz vdr-8635511b282f8a19db8ef3211b80767efcff74b4.tar.bz2 |
Fixed creating a new channel in the "Channels" menu in case the 'channels.conf' contains ':@nnn' lines with no text
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.258 2003/06/13 14:31:15 kls Exp $ + * $Id: menu.c 1.259 2003/06/15 12:25:47 kls Exp $ */ #include "menu.h" @@ -733,7 +733,7 @@ eOSState cMenuChannels::New(void) { if (HasSubMenu()) return osContinue; - return AddSubMenu(new cMenuEditChannel(Channels.Get(Current()), true)); + return AddSubMenu(new cMenuEditChannel(GetChannel(Current()), true)); } eOSState cMenuChannels::Delete(void) |