Fix bug where cross volume cut/paste would report failure even though it succeeded. Reported in a comment in FS#7634.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14422 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e6dfe647ba
commit
0686513d70
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ static bool clipboard_pastefile(const char *src, const char *target, bool copy)
|
|||
result = clipboard_pastefile(src, target, true);
|
||||
|
||||
if (result) {
|
||||
result = remove(src);
|
||||
result = remove(src) == 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue