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:
parent
39bf090275
commit
e239602e33
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue