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

Michael Stefaniuc mstefani at redhat.de
Tue Aug 14 16:09:19 CDT 2012


---
 dlls/setupx.dll16/virtcopy.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/setupx.dll16/virtcopy.c b/dlls/setupx.dll16/virtcopy.c
index 141fbd2..d6bcab6 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;
-- 
1.7.7.6



More information about the wine-patches mailing list