Merge pull request #29 from lioncash/remove-pointless-cstr

Remove a pointless c_str() call in FileUtil.cpp.
This commit is contained in:
Matthew Parlane 2014-02-03 19:48:53 -08:00
commit 0c2a826693
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