fix NormalizePath not removing leading dots

This commit is contained in:
Glenn Maynard
2004-06-03 23:17:27 +00:00
parent 8cbea03d58
commit 2856e3760b
+1 -1
View File
@@ -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; }