From 33e5ef3a5867998bec1bb3d8d7c8b6597cc1393b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 12 Aug 2007 10:37:58 +0200 Subject: The list of tracks given in cStatus::SetAudioTrack() is now NULL terminated --- menu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menu.h') 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); -- cgit v1.2.3