1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +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;
} else {
for (int i = 0, max = oldCommands.length; i < max; i++) {
if (oldCommands[i] == oldCommand) {
if (oldCommands[i].getBuilderName().equals(oldCommand.getBuilderName())) {
oldCommands[i] = newCommand;
break;
}