fix NormalizePath not removing leading dots
This commit is contained in:
@@ -231,7 +231,7 @@ CString LoadedDriver::GetPath( const CString &path )
|
|||||||
static void NormalizePath( CString &sPath )
|
static void NormalizePath( CString &sPath )
|
||||||
{
|
{
|
||||||
FixSlashesInPlace( sPath );
|
FixSlashesInPlace( sPath );
|
||||||
CollapsePath( sPath );
|
CollapsePath( sPath, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ilt( const CString &a, const CString &b ) { return a.CompareNoCase(b) < 0; }
|
bool ilt( const CString &a, const CString &b ) { return a.CompareNoCase(b) < 0; }
|
||||||
|
|||||||
Reference in New Issue
Block a user