1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Bug 296881 - remote C/C++ search results not displaying properly

This commit is contained in:
Mike Kucera 2009-12-07 21:46:30 +00:00
parent 43de6972ad
commit 2bb959feda

View file

@ -359,7 +359,11 @@ public class EditorUtility {
// crecoskie test
// TODO FIXME
// include entries don't handle URIs yet, so fake it out for now
if (includeReferences[j].isOnIncludeEntry(URIUtil.toPath(locationURI))) {
IPath path = URIUtil.toPath(locationURI);
if(path == null)
path = new Path(locationURI.getPath());
if (includeReferences[j].isOnIncludeEntry(path)) {
context = projects[i];
break outerFor;
}