winefile: Avoid a TRUE:FALSE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-14 23:43:24 +02:00 committed by Alexandre Julliard
parent 66696feede
commit f6cd3e874b
1 changed files with 1 additions and 1 deletions

View File

@ -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)