Fix channel editor EXT entry.

This commit is contained in:
Antti Seppälä 2007-10-19 17:07:13 +00:00
parent 5b91ea05eb
commit 9cd2d1f024
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: setup.c,v 1.35 2007/10/16 22:13:44 rahrenbe Exp $ * $Id: setup.c,v 1.36 2007/10/19 17:07:13 ajhseppa Exp $
*/ */
#include <string.h> #include <string.h>
@ -180,7 +180,8 @@ void cIptvMenuEditChannel::Setup(void)
int current = Current(); int current = Current();
Clear(); Clear();
// IPTV specific settings // IPTV specific settings
Add(new cMenuEditStraItem(tr("Protocol"), &data.protocol, 3, protocols)); Add(new cMenuEditStraItem(tr("Protocol"), &data.protocol,
eProtocolCount, protocols));
switch (data.protocol) { switch (data.protocol) {
case eProtocolFILE: case eProtocolFILE:
Add(new cMenuEditStrItem(trVDR("File"), data.location, sizeof(data.location), trVDR(FileNameChars))); Add(new cMenuEditStrItem(trVDR("File"), data.location, sizeof(data.location), trVDR(FileNameChars)));