summaryrefslogtreecommitdiff
path: root/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.c')
-rw-r--r--frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend.c b/frontend.c
index 2af2c395..9c8da413 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.75 2009-09-05 09:48:21 phintuka Exp $
+ * $Id: frontend.c,v 1.76 2009-09-05 21:27:25 rofafor Exp $
*
*/
@@ -157,7 +157,7 @@ void cXinelibThread::InfoHandler(const char *info)
char *lang = map;
while(*map && *map != ' ') map++;
if(*map == ' ') { *map = 0; map++; };
- cXinelibDevice::Instance().SetAvailableTrack(ttDolby, id, ttDolby+id, iso639_2_to_iso639_1(lang) ?: cString::sprintf("%03d", id+1));
+ cXinelibDevice::Instance().SetAvailableTrack(ttDolby, id, ttDolby+id, iso639_2_to_iso639_1(lang) ?: *cString::sprintf("%03d", id+1));
if(Current)
cXinelibDevice::Instance().SetCurrentAudioTrack((eTrackType)(ttDolby+id));
}