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 */
|
/* FIXME: need to do the file copy in small chunks for notifications */
|
||||||
TRACE("copying '%s' to '%s'\n", fn_src, fn_dst);
|
TRACE("copying '%s' to '%s'\n", fn_src, fn_dst);
|
||||||
/* perform the file copy */
|
/* perform the file copy */
|
||||||
if (!(CopyFileA(fn_src, fn_dst,
|
if (!CopyFileA(fn_src, fn_dst, !(lpvn->fl & VNLP_COPYIFEXISTS)))
|
||||||
(lpvn->fl & VNLP_COPYIFEXISTS) ? FALSE : TRUE )))
|
|
||||||
{
|
{
|
||||||
ERR("error copying, src: %s -> dst: %s\n", fn_src, fn_dst);
|
ERR("error copying, src: %s -> dst: %s\n", fn_src, fn_dst);
|
||||||
res = ERR_VCP_IOFAIL;
|
res = ERR_VCP_IOFAIL;
|
||||||
|
|
Loading…
Reference in New Issue