Fix file path separator

This commit is contained in:
vanitasvitae 2017-08-06 00:27:51 +02:00
parent 5589143c99
commit bee9ef0f08
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class LocalFile extends AbstractJingleFileTransferFile {
@Override
public String getName() {
String path = file.getAbsolutePath();
return path.substring(path.lastIndexOf(File.pathSeparatorChar) + 1);
return path.substring(path.lastIndexOf(File.separator) + 1);
}
@Override