mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:53:37 +00:00
setupx.dll16: Avoid a FALSE:TRUE conditional expression.
This commit is contained in:
parent
31fdb97632
commit
b37902765c
|
@ -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