mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
use empty to check string
This commit is contained in:
@@ -92,7 +92,7 @@ int CPluginList::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
const char * dummy = NULL;
|
||||
|
||||
number = -1;
|
||||
if (actionKey != "")
|
||||
if (!actionKey.empty())
|
||||
number = atoi(actionKey.c_str());
|
||||
|
||||
if (number > -1)
|
||||
|
Reference in New Issue
Block a user