From 3a11f59dc12798a3e70a69443cd2b9c2f30ef02f Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 1 Jan 2011 14:02:30 +0000 Subject: [PATCH] sectionsd: send more chars of the event description If the short description of an event was empty, only 40 chars of the extended description were sent. This causes truncated text in the channellist's details window. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@988 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/80f3d04fbfda3c1d06cd1ce6b8603e0bdb80478c Author: Stefan Seyfried Date: 2011-01-01 (Sat, 01 Jan 2011) ------------------ This commit was generated by Migit --- src/sectionsd/sectionsd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index d163bdd6e..88908cc73 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -8809,7 +8809,7 @@ void sectionsd_getEventsServiceKey(t_channel_id serviceUniqueKey, CChannelEventL aEvent.duration = t->dauer; aEvent.description = (*e)->getName(); if (((*e)->getText()).empty()) - aEvent.text = (*e)->getExtendedText().substr(0, 40); + aEvent.text = (*e)->getExtendedText().substr(0, 120); else aEvent.text = (*e)->getText(); aEvent.channelID = serviceUniqueKey; @@ -9260,7 +9260,7 @@ void sectionsd_getChannelEvents(CChannelEventList &eList, const bool tv_mode = t aEvent.duration = t->dauer; aEvent.description = (*e)->getName(); if (((*e)->getText()).empty()) - aEvent.text = (*e)->getExtendedText().substr(0, 40); + aEvent.text = (*e)->getExtendedText().substr(0, 120); else aEvent.text = (*e)->getText(); eList.push_back(aEvent);