summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-21 23:18:34 +0000
committerlordjaxom <lordjaxom>2005-01-21 23:18:34 +0000
commitd71e58a3488e37d2355bb5d3c6f0f916c341adb4 (patch)
tree0cdb9cce0f3d343498ce96d91db978b3f898c8a3
parentb813c8ed35f80e0980f290afa3d75756f4896f45 (diff)
downloadvdr-plugin-text2skin-d71e58a3488e37d2355bb5d3c6f0f916c341adb4.tar.gz
vdr-plugin-text2skin-d71e58a3488e37d2355bb5d3c6f0f916c341adb4.tar.bz2
- removed leading number in audio tracks menu
-rw-r--r--display.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/display.c b/display.c
index 9084d91..e69afc7 100644
--- a/display.c
+++ b/display.c
@@ -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;