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
------------------
Commit: 80f3d04fbf
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-01-01 (Sat, 01 Jan 2011)
This commit is contained in:
Stefan Seyfried
2011-01-01 14:02:30 +00:00
parent 22ebb26f99
commit 9e686e2b19

View File

@@ -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);