From 0686513d70aee250e368621e1937604298b4ae59 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Wed, 22 Aug 2007 00:05:29 +0000 Subject: 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 --- apps/onplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/onplay.c') 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) result = clipboard_pastefile(src, target, true); if (result) { - result = remove(src); + result = remove(src) == 0; } } } -- cgit v1.2.3