mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +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 {
|
private void computeName() throws CoreException {
|
||||||
if (isResolved()) {
|
if (isResolved()) {
|
||||||
fName= getIncludes().getLocation().getURI().getPath();
|
fName= getIncludes().getLocation().getURI().getPath();
|
||||||
fName= fName.substring(fName.lastIndexOf('/')+1);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fName= getNameForUnresolved().getString();
|
fName= getNameForUnresolved().getString();
|
||||||
}
|
}
|
||||||
|
fName= fName.substring(fName.lastIndexOf('/')+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void convertToUnresolved() throws CoreException {
|
public void convertToUnresolved() throws CoreException {
|
||||||
|
|
Loading…
Add table
Reference in a new issue