diff options
author | lordjaxom <lordjaxom> | 2005-01-21 18:13:59 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-21 18:13:59 +0000 |
commit | e1d19862f678a5db58ccb8fd4cf072634c63cbe4 (patch) | |
tree | 2406abd84f5529dd6e9fb57ec48aeb976a226792 | |
parent | b7d48ec1d234e47d81118e7a471b150051abb26f (diff) | |
download | vdr-plugin-text2skin-e1d19862f678a5db58ccb8fd4cf072634c63cbe4.tar.gz vdr-plugin-text2skin-e1d19862f678a5db58ccb8fd4cf072634c63cbe4.tar.bz2 |
- Fixed *HasVps
-rw-r--r-- | display.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* - * $Id: display.c,v 1.14 2005/01/20 17:07:09 lordjaxom Exp $ + * $Id: display.c,v 1.15 2005/01/21 18:13:59 lordjaxom Exp $ */ #include "render.h" @@ -281,7 +281,7 @@ cxType cText2SkinDisplayChannel::GetTokenData(const txToken &Token) return mPresent != NULL && mPresent->Vps() != 0; case tPresentHasVPS: - return mPresent != NULL && mPresent->Vps() != mPresent->StartTime(); + return mPresent != NULL && mPresent->Vps() != 0 && mPresent->Vps() != mPresent->StartTime(); case tHasTimer: case tPresentHasTimer: @@ -298,7 +298,8 @@ cxType cText2SkinDisplayChannel::GetTokenData(const txToken &Token) return mFollowing != NULL && mFollowing->IsRunning(); case tFollowingHasVPS: - return mFollowing != NULL && mFollowing->Vps() != mFollowing->StartTime(); + return mFollowing != NULL && mFollowing->Vps() != 0 + && mFollowing->Vps() != mFollowing->StartTime(); case tMessage: return mText; @@ -1052,7 +1053,7 @@ cxType cText2SkinDisplayMenu::GetTokenData(const txToken &Token) return mEvent != NULL && mEvent->Vps() != 0; case tPresentHasVPS: - return mEvent != NULL && mEvent->Vps() != mEvent->StartTime(); + return mEvent != NULL && mEvent->Vps() != 0 && mEvent->Vps() != mEvent->StartTime(); case tHasTimer: case tPresentHasTimer: |