mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
setupx.dll16: Avoid a FALSE:TRUE conditional expression.
This commit is contained in:
parent
31fdb97632
commit
b37902765c
1 changed files with 1 additions and 2 deletions
|
@ -454,8 +454,7 @@ static RETERR16 VCP_CopyFiles(void)
|
|||
/* FIXME: need to do the file copy in small chunks for notifications */
|
||||
TRACE("copying '%s' to '%s'\n", fn_src, fn_dst);
|
||||
/* perform the file copy */
|
||||
if (!(CopyFileA(fn_src, fn_dst,
|
||||
(lpvn->fl & VNLP_COPYIFEXISTS) ? FALSE : TRUE )))
|
||||
if (!CopyFileA(fn_src, fn_dst, !(lpvn->fl & VNLP_COPYIFEXISTS)))
|
||||
{
|
||||
ERR("error copying, src: %s -> dst: %s\n", fn_src, fn_dst);
|
||||
res = ERR_VCP_IOFAIL;
|
||||
|
|
Loading…
Reference in a new issue