mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Fix #411
This commit is contained in:
parent
5e51805ea0
commit
e75c25e41d
@ -525,7 +525,7 @@ bool PathMoveCopyRec(char* dest, char* orig, u32* flags, bool move, u8* buffer,
|
|||||||
|
|
||||||
ret = true; // destination file exists by now, so we need to handle deletion
|
ret = true; // destination file exists by now, so we need to handle deletion
|
||||||
fsize = fvx_size(&ofile); // check space via cluster preallocation
|
fsize = fvx_size(&ofile); // check space via cluster preallocation
|
||||||
if ((fvx_lseek(&dfile, fsize) != FR_OK) || (fvx_sync(&dfile) != FR_OK)) {
|
if ((fvx_lseek(&dfile, fsize) != FR_OK) || (fvx_sync(&dfile) != FR_OK) || (fvx_tell(&dfile) != fsize)) {
|
||||||
if (!silent) ShowPrompt(false, "%s\nError: Not enough space available", deststr);
|
if (!silent) ShowPrompt(false, "%s\nError: Not enough space available", deststr);
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user