1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Follow up for 180159, fix name of unresolved includes with directories.

This commit is contained in:
Markus Schorn 2007-04-06 07:59:38 +00:00
parent 39bf090275
commit e239602e33

View file

@ -240,11 +240,11 @@ public class PDOMInclude implements IIndexFragmentInclude {
private void computeName() throws CoreException {
if (isResolved()) {
fName= getIncludes().getLocation().getURI().getPath();
fName= fName.substring(fName.lastIndexOf('/')+1);
}
else {
fName= getNameForUnresolved().getString();
}
fName= fName.substring(fName.lastIndexOf('/')+1);
}
public void convertToUnresolved() throws CoreException {