mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CPluginExec: avoid crash when pluginlist is empty
Origin commit data
------------------
Commit: 396be41ab3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-20 (Fri, 20 Feb 2015)
This commit is contained in:
committed by
vanhofen
parent
f3fdaafa15
commit
6c6fbfbe4a
@@ -162,6 +162,7 @@ int CPluginsExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
if (actionKey == "teletext") {
|
||||
g_RCInput->postMsg(CRCInput::RC_timeout, 0);
|
||||
g_RCInput->postMsg(CRCInput::RC_text, 0);
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
else if (sel >= 0)
|
||||
g_PluginList->startPlugin(sel);
|
||||
|
Reference in New Issue
Block a user