Remove a pointless c_str() call in FileUtil.cpp. The function takes a string in it's parameter

This commit is contained in:
Lioncash 2014-02-03 21:31:12 -05:00
parent 9856110782
commit 7ebc829b17
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ u32 ScanDirectoryTree(const std::string &directory, FSTEntry& parentEntry)
entry.physicalName = directory;
entry.physicalName += DIR_SEP + entry.virtualName;
if (IsDirectory(entry.physicalName.c_str()))
if (IsDirectory(entry.physicalName))
{
entry.isDirectory = true;
// is a directory, lets go inside