The list of tracks given in cStatus::SetAudioTrack() is now NULL terminated

This commit is contained in:
Klaus Schmidinger
2007-08-12 10:37:58 +02:00
parent b12403458e
commit 33e5ef3a58
5 changed files with 10 additions and 5 deletions

4
menu.h
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.h 1.87 2007/01/07 14:40:54 kls Exp $
* $Id: menu.h 1.88 2007/08/12 10:35:42 kls Exp $
*/
#ifndef __MENU_H
@@ -115,7 +115,7 @@ private:
cSkinDisplayTracks *displayTracks;
cTimeMs timeout;
eTrackType types[ttMaxTrackTypes];
char *descriptions[ttMaxTrackTypes];
char *descriptions[ttMaxTrackTypes + 1]; // list is NULL terminated
int numTracks, track, audioChannel;
static cDisplayTracks *currentDisplayTracks;
virtual void Show(void);