summaryrefslogtreecommitdiff
path: root/menu.h
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.h
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.h')
-rw-r--r--menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.h b/menu.h
index b38ce1ff..1613aa4e 100644
--- a/menu.h
+++ b/menu.h
@@ -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);