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:
Jacek Jendrzej
2015-01-03 17:51:08 +01:00
parent 06f8b4b28c
commit d339fff93d
14 changed files with 26 additions and 26 deletions

View File

@@ -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());
}