Commit f6cd3e87 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winefile: Avoid a TRUE:FALSE conditional expression.

parent 66696fee
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment