Merge pull request #29 from lioncash/remove-pointless-cstr
Remove a pointless c_str() call in FileUtil.cpp.
This commit is contained in:
commit
0c2a826693
|
@ -496,7 +496,7 @@ u32 ScanDirectoryTree(const std::string &directory, FSTEntry& parentEntry)
|
||||||
entry.physicalName = directory;
|
entry.physicalName = directory;
|
||||||
entry.physicalName += DIR_SEP + entry.virtualName;
|
entry.physicalName += DIR_SEP + entry.virtualName;
|
||||||
|
|
||||||
if (IsDirectory(entry.physicalName.c_str()))
|
if (IsDirectory(entry.physicalName))
|
||||||
{
|
{
|
||||||
entry.isDirectory = true;
|
entry.isDirectory = true;
|
||||||
// is a directory, lets go inside
|
// is a directory, lets go inside
|
||||||
|
|
Loading…
Reference in New Issue