summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/onplay.c2
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 }