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:
Barry Wardell 2007-08-22 00:05:29 +00:00
parent e6dfe647ba
commit 0686513d70

View file

@ -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;
}
}
}