1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 02:05:39 +02:00

fixed build command not updating

This commit is contained in:
David Inglis 2004-06-01 20:26:25 +00:00
parent cad6860ec1
commit a5b6d849f2

View file

@ -64,7 +64,7 @@ public class MakeProjectNature implements IProjectNature {
newCommands[0] = newCommand; newCommands[0] = newCommand;
} else { } else {
for (int i = 0, max = oldCommands.length; i < max; i++) { for (int i = 0, max = oldCommands.length; i < max; i++) {
if (oldCommands[i] == oldCommand) { if (oldCommands[i].getBuilderName().equals(oldCommand.getBuilderName())) {
oldCommands[i] = newCommand; oldCommands[i] = newCommand;
break; break;
} }