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.h | |
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.h')
-rw-r--r-- | menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |