Removed the EPG bugfix for 'Title / Subtitle' cleanup

This commit is contained in:
Klaus Schmidinger 2002-02-02 11:59:10 +01:00
parent 548aa10f29
commit 2ce1bf31d3
2 changed files with 3 additions and 15 deletions

View File

@ -940,3 +940,5 @@ Video Disk Recorder Revision History
month has less than 31 days.
- Added a description of the sort order of individual episodes in the
recordings menu to the MANUAL.
- Removed the EPG bugfix for "Title / Subtitle" cleanup. Apparently Pro-7 has
finally stopped this nasty habit.

16
eit.c
View File

@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* $Id: eit.c 1.31 2002/01/13 16:14:31 kls Exp $
* $Id: eit.c 1.32 2002/02/02 11:57:57 kls Exp $
***************************************************************************/
#include "eit.h"
@ -367,20 +367,6 @@ void cEventInfo::FixEpgBugs(void)
// EPG data. Let's fix their bugs as good as we can:
if (pTitle) {
// Pro7 preceeds the Subtitle with the Title:
//
// Title
// Title / Subtitle
//
if (pSubtitle && strstr(pSubtitle, pTitle) == pSubtitle) {
char *p = pSubtitle + strlen(pTitle);
const char *delim = " / ";
if (strstr(p, delim) == p) {
p += strlen(delim);
memmove(pSubtitle, p, strlen(p) + 1);
}
}
// VOX and VIVA put the Subtitle in quotes and use either the Subtitle
// or the Extended Description field, depending on how long the string is:
//