mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
use empty to check string
This commit is contained in:
@@ -2264,7 +2264,7 @@ int CLockedMenuForwarder::exec(CMenuTarget* parent)
|
||||
|
||||
int CMenuSelectorTarget::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
{
|
||||
if (actionKey != "")
|
||||
if (!actionKey.empty())
|
||||
*m_select = atoi(actionKey);
|
||||
else
|
||||
*m_select = -1;
|
||||
|
Reference in New Issue
Block a user