diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-12 10:37:58 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-12 10:37:58 +0200 |
commit | 33e5ef3a5867998bec1bb3d8d7c8b6597cc1393b (patch) | |
tree | 09c242a9b2fddda6dd5cb6f317228250e568ab8b /menu.c | |
parent | b12403458e20fbd3d8201f9c14a5bd8dffb854ee (diff) | |
download | vdr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |