Bug 421884 - Fixed invalid checking condition. Must be == rather than !=
authorGuy <guy.bonneau@videotron.ca>
Sun, 17 Nov 2013 02:26:02 +0000 (21:26 -0500)
committerElena Laskavaia <elaskavaia.cdt@gmail.com>
Fri, 15 May 2015 19:57:32 +0000 (15:57 -0400)
Change-Id: Ib6321a4b5625fd3fbcb0b23d2174d008f967710d
Signed-off-by: Guy <guy.bonneau@videotron.ca>
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/InputType.java

index 8de96d8..8aa6915 100644 (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;
                        }
                }