mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino use check empty() instead of length() or size()
This commit is contained in:
@@ -176,7 +176,7 @@ int CThemes::Show()
|
||||
|
||||
int res = themes.exec(NULL, "");
|
||||
|
||||
if (file_name.length() > 0) {
|
||||
if (!file_name.empty()) {
|
||||
saveFile((char*)((std::string)THEMEDIR_VAR + file_name + FILE_PREFIX).c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user