aboutsummaryrefslogtreecommitdiff
path: root/xbmc/filesystem/FTPDirectory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/filesystem/FTPDirectory.cpp')
-rw-r--r--xbmc/filesystem/FTPDirectory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/filesystem/FTPDirectory.cpp b/xbmc/filesystem/FTPDirectory.cpp
index 8419b6605f..0b9d27500c 100644
--- a/xbmc/filesystem/FTPDirectory.cpp
+++ b/xbmc/filesystem/FTPDirectory.cpp
@@ -40,7 +40,7 @@ bool CFTPDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items
CURL url(strPath);
CStdString path = url.GetFileName();
- if( !path.IsEmpty() && !StringUtils::EndsWith(path, "/") )
+ if( !path.empty() && !StringUtils::EndsWith(path, "/") )
{
path += "/";
url.SetFileName(path);
@@ -79,7 +79,7 @@ bool CFTPDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items
g_charsetConverter.unknownToUTF8(name);
// convert got empty result, ignore it
- if (name.IsEmpty())
+ if (name.empty())
continue;
if (serverNotUseUTF8 || name != parse.getName())