summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-22 12:03:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-22 12:03:55 +0200
commit9c984d444368c8578d9e77959da810e3193fd107 (patch)
treeca8df32c2a162ef2901ac45811c5b53e591aeea6
parentf353cb7c64b3c2d4d380460fbd7508f2e509aaff (diff)
downloadvdr-9c984d444368c8578d9e77959da810e3193fd107.tar.gz
vdr-9c984d444368c8578d9e77959da810e3193fd107.tar.bz2
Fixed handling empty titles in cEvent::FixEpgBugs()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--epg.c4
3 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 490c3f1e..510f0b02 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -975,6 +975,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for adding a missing "Button$" for the Timer button and "Key$" in skinclassic.c
for reporting a bug in handling the color button texts when switching from the
'Schedule' menu of a channel without EPG info to the 'What's on now' menu
+ for reporting a bug in handling empty titles in cEvent::FixEpgBugs()
Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark
diff --git a/HISTORY b/HISTORY
index 07ae0c51..bdc63970 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4620,7 +4620,7 @@ Video Disk Recorder Revision History
actions in the context of the main program thread. Use this function with great
care and only of you absolutely have to! See also PLUGINS.html.
-2006-04-21: Version 1.3.48
+2006-04-22: Version 1.3.48
- Updated the GPL copies (thanks to Ville Skyttä).
- Fixed several spelling errors (thanks to Ville Skyttä).
@@ -4639,3 +4639,4 @@ Video Disk Recorder Revision History
- Modified the German OSD texts to be "less technical" (thanks to Andreas Brachold).
- Extended the version number reported with the '-V' option to also show the
current APIVERSION (suggested by Thomas Günther).
+- Fixed handling empty titles in cEvent::FixEpgBugs() (reported by Rolf Ahrenberg).
diff --git a/epg.c b/epg.c
index 0525008e..bc448cf8 100644
--- a/epg.c
+++ b/epg.c
@@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $Id: epg.c 1.71 2006/04/17 12:18:59 kls Exp $
+ * $Id: epg.c 1.72 2006/04/22 12:02:47 kls Exp $
*/
#include "epg.h"
@@ -445,7 +445,7 @@ void cEvent::FixEpgBugs(void)
strreplace(description, '\x86', ' ');
strreplace(description, '\x87', ' ');
- if (!title) {
+ if (isempty(title)) {
// we don't want any "(null)" titles
title = strcpyrealloc(title, tr("No title"));
EpgBugFixStat(12, ChannelID());