1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Follow-up fix for bug 161529

This commit is contained in:
Anton Leherbauer 2006-10-25 19:10:09 +00:00
parent a6a24e957f
commit 25232db42d

View file

@ -210,6 +210,7 @@ public class OpenIncludeAction extends Action {
IPath rPath = proxy.requestResource().getLocation();
int numSegToRemove = rPath.segmentCount() - name.segmentCount();
IPath sPath = rPath.removeFirstSegments(numSegToRemove);
sPath = sPath.setDevice(name.getDevice());
if (sPath.equals(name))
list.add(rPath);
return false;