From f6cd3e874b6d975cf2fdc93edc90bc4ed9f48ced Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 14 Aug 2012 23:43:24 +0200 Subject: [PATCH] winefile: Avoid a TRUE:FALSE conditional expression. --- programs/winefile/winefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 2537f62acf..366aa9c416 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -3675,7 +3675,7 @@ static BOOL is_directory(LPCWSTR target) if (target_attr == INVALID_FILE_ATTRIBUTES) return FALSE; - return target_attr&FILE_ATTRIBUTE_DIRECTORY? TRUE: FALSE; + return (target_attr & FILE_ATTRIBUTE_DIRECTORY) != 0; } static BOOL prompt_target(Pane* pane, LPWSTR source, LPWSTR target)