Michael Stefaniuc : setupx.dll16: Avoid a FALSE:TRUE conditional expression .
Alexandre Julliard
julliard at winehq.org
Wed Aug 15 14:08:31 CDT 2012
Module: wine
Branch: master
Commit: b37902765cc04e079976c7aa36eed91f8e9e663e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b37902765cc04e079976c7aa36eed91f8e9e663e
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Aug 14 23:09:19 2012 +0200
setupx.dll16: Avoid a FALSE:TRUE conditional expression.
---
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;
More information about the wine-cvs
mailing list