1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

160559 fix

This commit is contained in:
David McKnight 2006-10-12 20:08:57 +00:00
parent f38e3e0581
commit 1cd962c374

View file

@ -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;
}