diff options
-rw-r--r-- | vdr-vdrmanager/helpers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr-vdrmanager/helpers.cpp b/vdr-vdrmanager/helpers.cpp index d2ed537..26de351 100644 --- a/vdr-vdrmanager/helpers.cpp +++ b/vdr-vdrmanager/helpers.cpp @@ -208,8 +208,9 @@ string cHelpers::GetAudioTracks(const cChannel* channel) { for (int i = 0; channel->Dpid(i) != 0; ++i, ++index) { result += sep + "d," + (const char*) itoa(index) + "," + channel->Dlang(i); + sep = "|"; } - sep = "|"; + } return result; } |