setupx.dll16: Avoid a FALSE:TRUE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-14 23:09:19 +02:00 committed by Alexandre Julliard
parent 31fdb97632
commit b37902765c

View file

@ -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;