mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
[276103] Files with names in different cases are not handled properly
This commit is contained in:
parent
06f9bbfe7d
commit
ebf19c79d2
1 changed files with 2 additions and 4 deletions
|
@ -3451,9 +3451,7 @@ public class SystemViewRemoteFileAdapter
|
||||||
if (obj != null && obj instanceof SystemEditableRemoteFile)
|
if (obj != null && obj instanceof SystemEditableRemoteFile)
|
||||||
{
|
{
|
||||||
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
|
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
|
||||||
if (rmtObj.checkOpenInEditor() != ISystemEditableRemoteObject.NOT_OPEN){ // if this is open
|
return rmtObj; // return regardless of whehter it's open - open handling is taken care of after
|
||||||
return rmtObj;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new SystemEditableRemoteFile(remoteFile);
|
return new SystemEditableRemoteFile(remoteFile);
|
||||||
|
|
Loading…
Add table
Reference in a new issue