1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

Bug 421884 - Fixed invalid checking condition. Must be == rather than !=

Change-Id: Ib6321a4b5625fd3fbcb0b23d2174d008f967710d
Signed-off-by: Guy <guy.bonneau@videotron.ca>
This commit is contained in:
Guy 2013-11-16 21:26:02 -05:00 committed by Elena Laskavaia
parent 0ec42e99dd
commit 07c9f4fbc3

View file

@ -766,7 +766,7 @@ public class InputType extends BuildObject implements IInputType {
public IInputOrder getInputOrder(String path) {
// TODO Convert both paths to absolute?
for (InputOrder io : getInputOrderList()) {
if (path.compareToIgnoreCase(io.getPath()) != 0) {
if (path.compareToIgnoreCase(io.getPath()) == 0) {
return io;
}
}