From b37902765cc04e079976c7aa36eed91f8e9e663e Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 14 Aug 2012 23:09:19 +0200 Subject: [PATCH] setupx.dll16: Avoid a FALSE:TRUE conditional expression. --- dlls/setupx.dll16/virtcopy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/setupx.dll16/virtcopy.c b/dlls/setupx.dll16/virtcopy.c index 141fbd2ac9b..d6bcab6611f 100644 --- a/dlls/setupx.dll16/virtcopy.c +++ b/dlls/setupx.dll16/virtcopy.c @@ -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;