mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
Revert "Add a --enable-lua switch to enable LUA support"
This reverts commit2056b4ed80
. This just makes the code unreadable and why would one build without lua :-) Origin commit data ------------------ Commit:5525e9f4b5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de> Date: 2014-01-23 (Thu, 23 Jan 2014)
This commit is contained in:
@@ -311,11 +311,8 @@ bool CUserMenu::showUserMenu(int button)
|
||||
int cnt = 0;
|
||||
for (unsigned int count = 0; count < (unsigned int) g_PluginList->getNumberOfPlugins(); count++)
|
||||
{
|
||||
bool show = g_PluginList->getType(count) == CPlugins::P_TYPE_TOOL;
|
||||
|
||||
#if ENABLE_LUA
|
||||
show = show || g_PluginList->getType(count) == CPlugins::P_TYPE_LUA;
|
||||
#endif
|
||||
bool show = g_PluginList->getType(count) == CPlugins::P_TYPE_TOOL ||
|
||||
g_PluginList->getType(count) == CPlugins::P_TYPE_LUA;
|
||||
if (show && !g_PluginList->isHidden(count))
|
||||
{
|
||||
sprintf(id, "%d", count);
|
||||
|
Reference in New Issue
Block a user