mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Using '*itoa()' for compatibility with gcc 2.95
This commit is contained in:
parent
aa1738921b
commit
f37f5ee6be
4
menu.c
4
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.324 2005/01/02 15:03:53 kls Exp $
|
* $Id: menu.c 1.325 2005/01/04 11:11:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -2813,7 +2813,7 @@ cDisplayTracks::cDisplayTracks(void)
|
|||||||
const tTrackId *TrackId = cDevice::PrimaryDevice()->GetTrack(eTrackType(i));
|
const tTrackId *TrackId = cDevice::PrimaryDevice()->GetTrack(eTrackType(i));
|
||||||
if (TrackId && TrackId->id) {
|
if (TrackId && TrackId->id) {
|
||||||
types[numTracks] = eTrackType(i);
|
types[numTracks] = eTrackType(i);
|
||||||
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : itoa(i));
|
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : *itoa(i));
|
||||||
if (i == CurrentAudioTrack)
|
if (i == CurrentAudioTrack)
|
||||||
track = numTracks;
|
track = numTracks;
|
||||||
numTracks++;
|
numTracks++;
|
||||||
|
Loading…
Reference in New Issue
Block a user