summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-01-01 21:23:17 +0000
committerMohamed Tarek <mt@rockbox.org>2010-01-01 21:23:17 +0000
commite35a15cf54a104ff58ee889112d5040654f85ccc (patch)
tree1600e1725b69d84209506b55d6ec544f14294ef0 /apps/onplay.c
parent839007872a4ae8d7fab58e877d9454a32540c08d (diff)
Make the delete_handler function return the actual result, instead of just 'false'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24135 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 9ba70a353b..cfda5f4105 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -571,7 +571,7 @@ static bool delete_handler(bool is_dir)
if (!res)
onplay_result = ONPLAY_RELOAD_DIR;
- return false;
+ return ((res == 0) ? true:false);
}