mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Add a --enable-lua switch to enable LUA support
This commit is contained in:
@@ -308,8 +308,11 @@ 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 ||
|
||||
g_PluginList->getType(count) == CPlugins::P_TYPE_LUA;
|
||||
bool show = g_PluginList->getType(count) == CPlugins::P_TYPE_TOOL;
|
||||
|
||||
#if ENABLE_LUA
|
||||
show = show || g_PluginList->getType(count) == CPlugins::P_TYPE_LUA;
|
||||
#endif
|
||||
if (show && !g_PluginList->isHidden(count))
|
||||
{
|
||||
sprintf(id, "%d", count);
|
||||
|
Reference in New Issue
Block a user