Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorJohn Cortell2008-08-20 21:04:48 +0000
committerJohn Cortell2008-08-20 21:04:48 +0000
commitf98068dadf379e3a118532fbb92eaffa2e958d39 (patch)
treebdfb367056bf80b0fb85a165230594a9496a49a3 /launch
parentc2c4bc613c3b5749cc33d7476eae01f0d786988d (diff)
downloadorg.eclipse.cdt-f98068dadf379e3a118532fbb92eaffa2e958d39.tar.gz
org.eclipse.cdt-f98068dadf379e3a118532fbb92eaffa2e958d39.tar.xz
org.eclipse.cdt-f98068dadf379e3a118532fbb92eaffa2e958d39.zip
Adjustment to last commit. Use project referenced in the launch config rather than the one stored in the field 'project' (copy&paste goof).
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
index 1cf563ad51a..9982a73fc98 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
@@ -374,7 +374,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
ICDTLaunchConfigurationConstants.ERR_UNSPECIFIED_PROGRAM);
}
if (!programPath.isAbsolute()) {
- IPath location = project.getLocation();
+ IPath location = cproject.getProject().getLocation();
if (location != null) {
programPath = location.append(programPath);
}

Back to the top