summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 1eaaa62b..6a586aec 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c,v 1.36 2007-06-12 15:11:19 phintuka Exp $
+ * $Id: menu.c,v 1.37 2007-06-17 08:44:25 phintuka Exp $
*
*/
@@ -560,7 +560,7 @@ cDisplaySpuTracks::cDisplaySpuTracks(void) : cOsdObject(true)
for (int i = 0; i <= 63; i++) {
const tTrackId *TrackId = cXinelibDevice::Instance().GetDvdSpuTrack(i);
- if (TrackId && TrackId->id) {
+ if (TrackId && TrackId->id >= 0) {
types[numTracks] = eTrackType(i);
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : *itoa(i));
if (i == CurrentTrack)