summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2014-08-22 20:40:13 +0200
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2014-08-22 20:40:13 +0200
commitec36c62f4360daf9d39564e040ac4b181baf4316 (patch)
tree7c1500ccfe883d790910f13186557ebd027f2bac
parent81de9f8c2e2c3223789ad1bed1f00d58c773d7b8 (diff)
downloadvdr-plugin-epgfixer-ec36c62f4360daf9d39564e040ac4b181baf4316.tar.gz
vdr-plugin-epgfixer-ec36c62f4360daf9d39564e040ac4b181baf4316.tar.bz2
Fix using channelIDs in EPG cloning, thanks to Guy Martin.
-rw-r--r--HISTORY3
-rw-r--r--epgclone.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 211d465..320f68d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,7 +1,7 @@
VDR Plugin 'epgfixer' Revision History
--------------------------------------
-2013-xx-xx: Version x.x.x
+2014-xx-xx: Version x.x.x
- Support regular expressions which are used only if the content of another EPG
field matches to an additional regular expression.
@@ -14,6 +14,7 @@ VDR Plugin 'epgfixer' Revision History
- Support for new Makefile of VDR >= 1.7.34.
- Report an error if PCRE library is not available.
- Fix replacing at the end of string when using s///. Fix variable name clash.
+- Fix using channelIDs in EPG cloning (thanks to Guy Martin).
2012-11-28: Version 0.3.1
diff --git a/epgclone.c b/epgclone.c
index 9a092fa..4c7b28e 100644
--- a/epgclone.c
+++ b/epgclone.c
@@ -51,7 +51,7 @@ void cEpgClone::CloneEvent(cEvent *Source, cEvent *Dest) {
if (dest_num)
channelID = Channels.GetByNumber(dest_num)->GetChannelID();
else
- channelID.FromString(dest_str);
+ channelID = tChannelID::FromString(dest_str);
AddEvent(Dest, channelID);
}