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

@@ -1196,7 +1196,7 @@ void CFileBrowser::paintItem(unsigned int pos)
colwidth3 = fnt_item->getRenderWidth("222.222G");
colwidth1 = width - 35 - colwidth2 - colwidth3 - 10;
if ( actual_file->Name.length() > 0 )
if ( !actual_file->Name.empty() )
{
if (curr == selected)
CVFD::getInstance()->showMenuText(0, FILESYSTEM_ENCODING_TO_UTF8_STRING(actual_file->getFileName()).c_str(), -1, true); // UTF-8