1
0
Fork 0
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:
Mikhail Khodjaiants 2004-12-06 23:23:09 +00:00
parent f75ccc0e6f
commit df1737f4f0
2 changed files with 6 additions and 1 deletions

View file

@ -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
Change to use IBinaryObject instead of IBinayExecutable

View file

@ -622,7 +622,7 @@ public class CMainTab extends CLaunchConfigurationTab {
String name = binary.getElementName();
int index = name.lastIndexOf('.');
if (index > 0) {
name = name.substring(0, index - 1);
name = name.substring(0, index);
}
name = getLaunchConfigurationDialog().generateName(name);
config.rename(name);