Fixed normalizeAbsolutePaths() condition

normalizeAbsolutePath() used an invalid condition to
verify that the tested paths are on the same volume.
This commit is contained in:
Maciej Suminski
2018-05-25 11:07:51 +02:00
parent 145835661b
commit 32f599654f
+1 -1
View File
@@ -36,7 +36,7 @@ static bool normalizeAbsolutePaths( const wxFileName& aPathA,
|| ( aPathA.HasVolume() && !aPathB.HasVolume() )
|| ( !aPathA.HasVolume() && aPathB.HasVolume() )
|| ( ( aPathA.HasVolume() && aPathB.HasVolume() )
&& ( aPathA.GetVolume() == aPathB.GetVolume() ) ) )
&& ( aPathA.GetVolume() != aPathB.GetVolume() ) ) )
return false;
wxArrayString aDirs = aPathA.GetDirs();