mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed log message when editing a channel
This commit is contained in:
parent
bff56bb850
commit
ff127786d0
10
menu.c
10
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.219 2002/10/20 12:03:13 kls Exp $
|
* $Id: menu.c 1.220 2002/10/20 14:22:09 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -695,8 +695,12 @@ eOSState cMenuChannels::Edit(void)
|
|||||||
{
|
{
|
||||||
if (HasSubMenu() || Count() == 0)
|
if (HasSubMenu() || Count() == 0)
|
||||||
return osContinue;
|
return osContinue;
|
||||||
isyslog("editing channel %d", Current() + 1);
|
cChannel *ch = Channels.Get(Current());
|
||||||
return AddSubMenu(new cMenuEditChannel(Current()));
|
if (ch) {
|
||||||
|
isyslog("editing channel %d", ch->Number());
|
||||||
|
return AddSubMenu(new cMenuEditChannel(Current()));
|
||||||
|
}
|
||||||
|
return osContinue;
|
||||||
}
|
}
|
||||||
|
|
||||||
eOSState cMenuChannels::New(void)
|
eOSState cMenuChannels::New(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user