From 46dd217d47ba260485aeb1fd75a1c1eab450bf92 Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 24 Jan 2010 00:25:47 +0000 Subject: [PATCH] sectionsd: fix extended event description being one char short (mantis 227) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@204 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/sectionsd/SIsections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sectionsd/SIsections.cpp b/src/sectionsd/SIsections.cpp index 9a1e0f388..b702e7ac1 100644 --- a/src/sectionsd/SIsections.cpp +++ b/src/sectionsd/SIsections.cpp @@ -258,7 +258,7 @@ void SIsectionEIT::parseExtendedEventDescriptor(const char *buf, SIevent &e, uns #endif { //e.appendExtendedText(language, std::string((const char *)(items+1), min(maxlen-((const char *)items+1-buf), *items))); - e.appendExtendedText(language, convertDVBUTF8((const char *)(items+1), min(maxlen-((const char *)items+2-buf), (*items)), table, tsidonid)); + e.appendExtendedText(language, convertDVBUTF8((const char *)(items+1), min(maxlen-((const char *)items+1-buf), (*items)), table, tsidonid)); // printf("Extended Text: %s\n", e.extendedText.c_str()); } }