diff options
author | lordjaxom <lordjaxom> | 2005-01-21 23:18:34 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-21 23:18:34 +0000 |
commit | d71e58a3488e37d2355bb5d3c6f0f916c341adb4 (patch) | |
tree | 0cdb9cce0f3d343498ce96d91db978b3f898c8a3 | |
parent | b813c8ed35f80e0980f290afa3d75756f4896f45 (diff) | |
download | vdr-plugin-text2skin-d71e58a3488e37d2355bb5d3c6f0f916c341adb4.tar.gz vdr-plugin-text2skin-d71e58a3488e37d2355bb5d3c6f0f916c341adb4.tar.bz2 |
- removed leading number in audio tracks menu
-rw-r--r-- | display.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,5 +1,5 @@ /* - * $Id: display.c,v 1.15 2005/01/21 18:13:59 lordjaxom Exp $ + * $Id: display.c,v 1.16 2005/01/21 23:18:34 lordjaxom Exp $ */ #include "render.h" @@ -1143,20 +1143,18 @@ cxType cText2SkinDisplayTracks::GetTokenData(const txToken &Token) case tMenuTitle: return mTitle; - case tMenuItem: { + case tMenuItem: return mItems.size() > (uint)index && mCurrentItem != (uint)index - ? (cxType)((std::string)(const char*)itoa(index) + " " + mItems[index].text) + ? (cxType)mItems[index].text : (cxType)false; - } case tIsMenuItem: return mItems.size() > (uint)index && mCurrentItem != (uint)index; - case tMenuCurrent: { + case tMenuCurrent: return mItems.size() > (uint)index && mCurrentItem == (uint)index - ? (cxType)((std::string)(const char*)itoa(index) + " " + mItems[index].text) + ? (cxType)mItems[index].text : (cxType)false; - } case tIsMenuCurrent: return mItems.size() > (uint)index && mCurrentItem == (uint)index; |