mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
5efde5366a
commit
9e7e3da6e0
1 changed files with 1 additions and 2 deletions
|
|
@ -158,8 +158,7 @@ fn final_path(path: &Path) -> io::Result<PathBuf> {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut buf = [0u16; 512];
|
match inner(&file, &mut [0u16; 512])? {
|
||||||
match inner(&file, &mut buf)? {
|
|
||||||
Either::Left(path) => Ok(path),
|
Either::Left(path) => Ok(path),
|
||||||
Either::Right(len) => {
|
Either::Right(len) => {
|
||||||
let mut buf = vec![0u16; len as usize];
|
let mut buf = vec![0u16; len as usize];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue