mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
160559 fix
This commit is contained in:
parent
f38e3e0581
commit
1cd962c374
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ public class DStoreHostFile implements IHostFile
|
|||
{
|
||||
String path = _element.getValue();
|
||||
int lastSep = path.lastIndexOf('/');
|
||||
if (lastSep == -1)
|
||||
lastSep = path.lastIndexOf('\\');
|
||||
name = path.substring(lastSep + 1);
|
||||
return name;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue