summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-12 10:37:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-12 10:37:58 +0200
commit33e5ef3a5867998bec1bb3d8d7c8b6597cc1393b (patch)
tree09c242a9b2fddda6dd5cb6f317228250e568ab8b /menu.c
parentb12403458e20fbd3d8201f9c14a5bd8dffb854ee (diff)
downloadvdr-33e5ef3a5867998bec1bb3d8d7c8b6597cc1393b.tar.gz
vdr-33e5ef3a5867998bec1bb3d8d7c8b6597cc1393b.tar.bz2
The list of tracks given in cStatus::SetAudioTrack() is now NULL terminated
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index d64ebd5f..5c88b43c 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.457 2007/08/10 13:13:13 kls Exp $
+ * $Id: menu.c 1.458 2007/08/12 10:35:16 kls Exp $
*/
#include "menu.h"
@@ -3491,6 +3491,7 @@ cDisplayTracks::cDisplayTracks(void)
numTracks++;
}
}
+ descriptions[numTracks] = 0;
timeout.Set(TRACKTIMEOUT);
displayTracks = Skins.Current()->DisplayTracks(tr("Button$Audio"), numTracks, descriptions);
Show();