summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-19 19:25:07 +0100
committerhorchi <vdr@jwendel.de>2017-03-19 19:25:07 +0100
commitfa25e7126b97348f825abad9fabb2bdc82e52a05 (patch)
tree8594d8038b0b63196c31cc189610345f77afb1ce
parentf5d8bcff5c81fc92969101f36be775962546b5e8 (diff)
downloadvdr-plugin-epg2vdr-fa25e7126b97348f825abad9fabb2bdc82e52a05.tar.gz
vdr-plugin-epg2vdr-fa25e7126b97348f825abad9fabb2bdc82e52a05.tar.bz2
copatibility with oder g++
-rw-r--r--ttools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ttools.c b/ttools.c
index 1c4e376..6c2ad4f 100644
--- a/ttools.c
+++ b/ttools.c
@@ -642,7 +642,8 @@ int enrichEvent(cEpgEvent* event, cDbTable* table, cDbStatement* select)
}
std::string source = table->getStrValue("CNTSOURCE") + std::string("/") + table->getStrValue("SUBSOURCE");
- source = regex_replace(source, regex("vdr"), "dvb");
+ source = strReplace("vdr", "dvb", source);
+ // source = regex_replace(source, regex("vdr"), "dvb");
event->setValue("source", source.c_str());
}
else