mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Bug 269484 #selectFile should consider first file
This commit is contained in:
parent
eef558181f
commit
6bfad895fb
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class ResourceLookup {
|
|||
IFile best= null;
|
||||
int bestRelevance= -1;
|
||||
|
||||
for (int i = 1; i < files.length; i++) {
|
||||
for (int i = 0; i < files.length; i++) {
|
||||
IFile file = files[i];
|
||||
if (file.isAccessible()) {
|
||||
int relevance= FileRelevance.getRelevance(file, preferredProject);
|
||||
|
|
Loading…
Add table
Reference in a new issue