From 661e08a143d38eee9251bad6870a4534b29a5316 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/46dd217d47ba260485aeb1fd75a1c1eab450bf92 Author: Stefan Seyfried Date: 2010-01-24 (Sun, 24 Jan 2010) ------------------ This commit was generated by Migit --- 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()); } }