mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-04 12:18:27 +02:00
use empty to check string
Origin commit data
------------------
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
This commit is contained in:
@@ -74,7 +74,7 @@ int COsdLangSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
if(parent != NULL)
|
||||
parent->hide();
|
||||
|
||||
if (actionKey != "") {
|
||||
if (!actionKey.empty()) {
|
||||
g_settings.language = actionKey;
|
||||
g_Locale->loadLocale(g_settings.language.c_str());
|
||||
return menu_return::RETURN_EXIT;
|
||||
|
Reference in New Issue
Block a user