From 5c4ef78cc983212a0c2e0868929aa2b699855087 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Fri, 1 Jan 2010 22:47:25 +0000 Subject: Simplify some expressions using the ? operator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/onplay.c') diff --git a/apps/onplay.c b/apps/onplay.c index cfda5f4105..c7b0f7ac7d 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 ((res == 0) ? true:false); + return (res == 0); } -- cgit v1.2.3