summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmltv2vdr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp
index a0d2fe9..c477ed7 100644
--- a/xmltv2vdr.cpp
+++ b/xmltv2vdr.cpp
@@ -100,6 +100,8 @@ bool cEPGExecute::ReadConfig()
// channels
char *semicolon=strchr(line,';');
if (semicolon) *semicolon=0;
+ char *lf=strchr(line,10);
+ if (lf) *lf=0;
bool used=false;
char *cname=line;
if (line[0]=='*')