summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--HISTORY.DE2
-rw-r--r--menu_myedittimer.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index e546b63..c709bf6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -128,7 +128,8 @@ fixes:
thanks to cmichel@mantis for reporting
- possible fix of the old problem with a crash in libpcre, thanks to Andreas Cz. for the
patch and to Stefan Bauer for pointing me to it.
-
+- fix a crash when toggling between with/without subtitle in timer info view for events
+ that have (very) long "short" texts, thanks to Ville Skyttä for providing a patch.
2008-04-29: Version 0.9.24
new:
diff --git a/HISTORY.DE b/HISTORY.DE
index f95fc44..da2956b 100644
--- a/HISTORY.DE
+++ b/HISTORY.DE
@@ -135,6 +135,8 @@ fixes:
Hinweis.
- möglicher Fix für das alte Problem mit dem crash in libpcre, Danke an Andreas Cz. für
den Patch und an Stefan Bauer für den Hinweis darauf.
+- Fix für einen Absturz beim Hin- und Herschalten von mit/ohne Untertitel bei Timern mit
+ mit sehr langen Episodennamen, Danke an Ville Skyttä für den Patch.
2008-04-29: Version 0.9.24
diff --git a/menu_myedittimer.c b/menu_myedittimer.c
index 92dce47..276ce4c 100644
--- a/menu_myedittimer.c
+++ b/menu_myedittimer.c
@@ -215,7 +215,7 @@ void cMenuMyEditTimer::HandleSubtitle()
else
{
strcat(file, "~");
- strcat(file, event->ShortText());
+ strncat(file, event->ShortText(), MaxFileName - strlen(file) - 1);
SetHelp(addIfConfirmed?NULL:trVDR("Button$Delete"), NULL, trVDR("Button$Reset"), tr("Button$Without subtitle"));
}
RefreshCurrent();