diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-08-22 00:05:29 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-08-22 00:05:29 +0000 |
commit | 0686513d70aee250e368621e1937604298b4ae59 (patch) | |
tree | 3876d18d43b9853f07d9ee1a4869504d4397b3f5 /apps/onplay.c | |
parent | e6dfe647bafc2117e3b48480cbd0b8dbf4c82f2a (diff) | |
download | rockbox-0686513d70aee250e368621e1937604298b4ae59.tar.gz rockbox-0686513d70aee250e368621e1937604298b4ae59.zip |
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
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 4921e7e428..ba21572c3d 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -767,7 +767,7 @@ static bool clipboard_pastefile(const char *src, const char *target, bool copy) | |||
767 | result = clipboard_pastefile(src, target, true); | 767 | result = clipboard_pastefile(src, target, true); |
768 | 768 | ||
769 | if (result) { | 769 | if (result) { |
770 | result = remove(src); | 770 | result = remove(src) == 0; |
771 | } | 771 | } |
772 | } | 772 | } |
773 | } | 773 | } |