[Project64] Cleanup path.cpp

This commit is contained in:
zilmar 2016-01-12 17:52:59 +11:00
parent 996098d929
commit 7b747cb5e0
2 changed files with 563 additions and 567 deletions

View File

@ -142,7 +142,6 @@ CPath::~CPath()
Exit();
}
//-------------------------------------------------------------
// Post : Return TRUE if paths are equal
// Task : Check if the two path are the same
@ -537,7 +536,6 @@ void CPath::SetName(int iName)
SetComponents(Drive.c_str(), Directory.c_str(), sName, Extension.c_str());
}
//-------------------------------------------------------------
// Task : Set path's file extension
//-------------------------------------------------------------
@ -917,7 +915,6 @@ bool CPath::FindNext()
WIN32_FIND_DATA FindData;
while (FindNextFile(m_hFindFile, &FindData) != FALSE)
{ // while(FindNext(...))
if (AttributesMatch(m_dwFindFileAttributes, FindData.dwFileAttributes))
{ // if(AttributesMatch(...)
if ((_A_SUBDIR & FindData.dwFileAttributes) == _A_SUBDIR)
@ -1042,7 +1039,6 @@ void CPath::StripLeadingChar(std::string& rText, TCHAR chLeading) const
rText = rText.substr(1);
}
//------------------------------------------------------------------------
// Task : Remove first character if \
//------------------------------------------------------------------------