diff options
author | lordjaxom <lordjaxom> | 2005-01-12 18:07:03 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-12 18:07:03 +0000 |
commit | 0c7a3a9d275d411005171f9ffe9adc9972d70257 (patch) | |
tree | 9ea5534f779ce3e1cc6da571505eb9aa673dc9e0 | |
parent | af6f0a2922d25a1553d776996a87cfd85dff0e4d (diff) | |
download | vdr-plugin-text2skin-0c7a3a9d275d411005171f9ffe9adc9972d70257.tar.gz vdr-plugin-text2skin-0c7a3a9d275d411005171f9ffe9adc9972d70257.tar.bz2 |
- added #ifdef for VDR < 1.3.18
-rw-r--r-- | render.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * $Id: render.c,v 1.20 2005/01/11 18:02:11 lordjaxom Exp $ + * $Id: render.c,v 1.21 2005/01/12 18:07:03 lordjaxom Exp $ */ #include "render.h" @@ -598,6 +598,7 @@ cxType cText2SkinRender::GetTokenData(const txToken &Token) case tCanScrollDown: return mScroller != NULL && mScroller->CanScrollDown(); +#if VDRVERSNUM >=10318 case tAudioTrack: { cDevice *dev = cDevice::PrimaryDevice(); const tTrackId *Track = dev->GetTrack(dev->GetCurrentAudioTrack()); @@ -608,6 +609,7 @@ cxType cText2SkinRender::GetTokenData(const txToken &Token) case tAudioChannel: return cText2SkinDisplayTracks::ChannelName(cDevice::PrimaryDevice()->GetAudioChannel()); +#endif default: return Text2SkinStatus.GetTokenData(Token); } |