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 | |
parent | 839007872a4ae8d7fab58e877d9454a32540c08d (diff) | |
download | rockbox-e35a15cf54a104ff58ee889112d5040654f85ccc.tar.gz rockbox-e35a15cf54a104ff58ee889112d5040654f85ccc.zip |
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
-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) | |||
571 | if (!res) | 571 | if (!res) |
572 | onplay_result = ONPLAY_RELOAD_DIR; | 572 | onplay_result = ONPLAY_RELOAD_DIR; |
573 | 573 | ||
574 | return false; | 574 | return ((res == 0) ? true:false); |
575 | } | 575 | } |
576 | 576 | ||
577 | 577 | ||