From d71e58a3488e37d2355bb5d3c6f0f916c341adb4 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 21 Jan 2005 23:18:34 +0000 Subject: - removed leading number in audio tracks menu --- display.c | 12 +++++------- 1 file 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; -- cgit v1.2.3