diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-16 10:41:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-16 10:41:21 +0200 |
commit | b532dc82299d1a11b5bdbbbee17f614dd87e8307 (patch) | |
tree | 26e67a6b9f0ef901f7df1e2213b9deb450aea40c /device.c | |
parent | 81e44bce198d53d0515290724c0ec8f989b9e01d (diff) | |
download | vdr-b532dc82299d1a11b5bdbbbee17f614dd87e8307.tar.gz vdr-b532dc82299d1a11b5bdbbbee17f614dd87e8307.tar.bz2 |
Replaced strncpy() and strn0cpy() with Utf8Strn0Cpy() where necessary
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.140 2007/04/30 09:34:00 kls Exp $ + * $Id: device.c 1.141 2007/06/16 09:31:32 kls Exp $ */ #include "device.h" @@ -859,7 +859,7 @@ bool cDevice::SetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const c if (Language) strn0cpy(availableTracks[t].language, Language, sizeof(availableTracks[t].language)); if (Description) - strn0cpy(availableTracks[t].description, Description, sizeof(availableTracks[t].description)); + Utf8Strn0Cpy(availableTracks[t].description, Description, sizeof(availableTracks[t].description)); if (Id) { availableTracks[t].id = Id; // setting 'id' last to avoid the need for extensive locking int numAudioTracks = NumAudioTracks(); |