mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 20:42:06 +01:00
Fix file path separator
This commit is contained in:
parent
5589143c99
commit
bee9ef0f08
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue