mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user