From e35a15cf54a104ff58ee889112d5040654f85ccc Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Fri, 1 Jan 2010 21:23:17 +0000 Subject: 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 --- apps/onplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3