summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--parse.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 63a45ec..6befb58 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ dist: clean
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a *.cpp *.h HISTORY COPYING Makefile README po $(TMPDIR)/$(ARCHIVE)
@mkdir -p $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv
- @cp -a dist/epgdata2xmltv/*.cpp dist/epgdata2xmltv/*.h dist/epgdata2xmltv/Makefile dist/epgdata2xmltv/INSTALL dist/epgdata2xmltv/COPYING dist/epgdata2xmltv/epgdata2xmltv.dist $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv
+ @cp -a dist/epgdata2xmltv/*.cpp dist/epgdata2xmltv/*.h dist/epgdata2xmltv/Makefile dist/epgdata2xmltv/INSTALL dist/epgdata2xmltv/COPYING dist/epgdata2xmltv/epgdata2xmltv.dist dist/epgdata2xmltv/epgdata2xmltv.xsl $(TMPDIR)/$(ARCHIVE)/dist/epgdata2xmltv
@tar czf $(PACKAGE).tgz -C $(TMPDIR) --exclude debian --exclude CVS --exclude .svn $(ARCHIVE)
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@echo Distribution package created as $(PACKAGE).tgz
diff --git a/parse.cpp b/parse.cpp
index 7a2de45..c464f33 100644
--- a/parse.cpp
+++ b/parse.cpp
@@ -490,7 +490,7 @@ void cParse::FetchSeasonEpisode(cEvent *event)
{
char *lf=strchr(title,'\n');
if (lf) *lf=0;
- if (!strcmp(event->ShortText(),title))
+ if (!strncasecmp(event->ShortText(),title,strlen(title)))
{
xevent.SetSeason(season);
xevent.SetEpisode(episode);