Fixed normalizeAbsolutePaths() condition
normalizeAbsolutePath() used an invalid condition to verify that the tested paths are on the same volume.
This commit is contained in:
parent
145835661b
commit
32f599654f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue