mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
The last character is missing in the launch configuration name generated from the binary file name.
This commit is contained in:
parent
f75ccc0e6f
commit
df1737f4f0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-06 Mikhail Khodjaiants
|
||||||
|
The last character is missing in the launch configuration name generated
|
||||||
|
from the binary file name.
|
||||||
|
* src/org/eclipse/cdt/launch/ui/CMainTab.java
|
||||||
|
|
||||||
2004-11-17 David Inglis
|
2004-11-17 David Inglis
|
||||||
|
|
||||||
Change to use IBinaryObject instead of IBinayExecutable
|
Change to use IBinaryObject instead of IBinayExecutable
|
||||||
|
|
|
@ -622,7 +622,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
String name = binary.getElementName();
|
String name = binary.getElementName();
|
||||||
int index = name.lastIndexOf('.');
|
int index = name.lastIndexOf('.');
|
||||||
if (index > 0) {
|
if (index > 0) {
|
||||||
name = name.substring(0, index - 1);
|
name = name.substring(0, index);
|
||||||
}
|
}
|
||||||
name = getLaunchConfigurationDialog().generateName(name);
|
name = getLaunchConfigurationDialog().generateName(name);
|
||||||
config.rename(name);
|
config.rename(name);
|
||||||
|
|
Loading…
Add table
Reference in a new issue