diff options
-rw-r--r-- | frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); } |