mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
neutrino use check empty() instead of length() or size()
Origin commit data
------------------
Commit: 8023a6317b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-03 (Sat, 03 Jan 2015)
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