mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
*neutrino record: use plausible variable name for record counts
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1804 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1237,7 +1237,7 @@ int CRecordManager::exec(CMenuTarget* parent, const std::string & actionKey )
|
|||||||
|
|
||||||
bool CRecordManager::ShowMenu(void)
|
bool CRecordManager::ShowMenu(void)
|
||||||
{
|
{
|
||||||
int select = -1, recmap_size = recmap.size();
|
int select = -1, rec_count = recmap.size();
|
||||||
char cnt[5];
|
char cnt[5];
|
||||||
CMenuForwarderNonLocalized * item;
|
CMenuForwarderNonLocalized * item;
|
||||||
CMenuForwarder * iteml;
|
CMenuForwarder * iteml;
|
||||||
@@ -1261,7 +1261,7 @@ bool CRecordManager::ShowMenu(void)
|
|||||||
this, "Timeshift", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
this, "Timeshift", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||||
menu.addItem(iteml, false);
|
menu.addItem(iteml, false);
|
||||||
|
|
||||||
if(recmap_size > 0)
|
if(rec_count > 0)
|
||||||
{
|
{
|
||||||
menu.addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_MAINMENU_RECORDING_STOP));
|
menu.addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_MAINMENU_RECORDING_STOP));
|
||||||
mutex.lock();
|
mutex.lock();
|
||||||
@@ -1283,7 +1283,7 @@ bool CRecordManager::ShowMenu(void)
|
|||||||
|
|
||||||
sprintf(cnt, "%d", i);
|
sprintf(cnt, "%d", i);
|
||||||
item = new CMenuForwarderNonLocalized(title.c_str(), true, NULL,
|
item = new CMenuForwarderNonLocalized(title.c_str(), true, NULL,
|
||||||
selector, cnt, CRCInput::convertDigitToKey((recmap_size == 1) ? 0 : shortcut++), NULL, mode_icon);
|
selector, cnt, CRCInput::convertDigitToKey((rec_count == 1) ? 0 : shortcut++), NULL, mode_icon);
|
||||||
item->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
|
item->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
|
||||||
menu.addItem(item, false);
|
menu.addItem(item, false);
|
||||||
i++;
|
i++;
|
||||||
|
Reference in New Issue
Block a user