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 08:46:14 +02:00
parent 145835661b
commit 32f599654f
1 changed files with 1 additions and 1 deletions

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();