mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
winefile: Avoid a TRUE:FALSE conditional expression.
This commit is contained in:
parent
66696feede
commit
f6cd3e874b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user