diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-01-01 21:23:17 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-01-01 21:23:17 +0000 |
commit | e35a15cf54a104ff58ee889112d5040654f85ccc (patch) | |
tree | 1600e1725b69d84209506b55d6ec544f14294ef0 /apps/onplay.c | |
parent | 839007872a4ae8d7fab58e877d9454a32540c08d (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.c | 2 |
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); } |