summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-06-16 10:41:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-06-16 10:41:21 +0200
commitb532dc82299d1a11b5bdbbbee17f614dd87e8307 (patch)
tree26e67a6b9f0ef901f7df1e2213b9deb450aea40c /recording.c
parent81e44bce198d53d0515290724c0ec8f989b9e01d (diff)
downloadvdr-b532dc82299d1a11b5bdbbbee17f614dd87e8307.tar.gz
vdr-b532dc82299d1a11b5bdbbbee17f614dd87e8307.tar.bz2
Replaced strncpy() and strn0cpy() with Utf8Strn0Cpy() where necessary
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index cce99a44..f2a617f2 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.152 2007/06/16 08:57:22 kls Exp $
+ * $Id: recording.c 1.153 2007/06/16 09:36:08 kls Exp $
*/
#include "recording.h"
@@ -480,7 +480,7 @@ cRecording::cRecording(cTimer *Timer, const cEvent *Event)
Subtitle = " ";
else if (strlen(Subtitle) > MAX_SUBTITLE_LENGTH) {
// let's make sure the Subtitle doesn't produce too long a file name:
- strn0cpy(SubtitleBuffer, Subtitle, MAX_SUBTITLE_LENGTH);
+ Utf8Strn0Cpy(SubtitleBuffer, Subtitle, MAX_SUBTITLE_LENGTH);
Subtitle = SubtitleBuffer;
}
char *macroTITLE = strstr(Timer->File(), TIMERMACRO_TITLE);