Module: wine Branch: master Commit: 6a512d0d3c6c19c0dfa500e26093552a65b78163 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a512d0d3c6c19c0dfa500e260...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Tue Nov 19 01:05:55 2013 +0100
localspl: Use BOOL type where appropriate.
---
dlls/localspl/provider.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/localspl/provider.c b/dlls/localspl/provider.c index 87d84fd..a34fff3 100644 --- a/dlls/localspl/provider.c +++ b/dlls/localspl/provider.c @@ -216,7 +216,7 @@ static LPWSTR strdupW(LPCWSTR p) static BOOL apd_copyfile( WCHAR *pathname, WCHAR *file_part, apd_data_t *apd ) { WCHAR *srcname; - DWORD res; + BOOL res;
apd->src[apd->srclen] = '\0'; apd->dst[apd->dstlen] = '\0'; @@ -239,9 +239,9 @@ static BOOL apd_copyfile( WCHAR *pathname, WCHAR *file_part, apd_data_t *apd )
/* FIXME: handle APD_COPY_NEW_FILES */ res = CopyFileW(srcname, apd->dst, FALSE); - TRACE("got %u with %u\n", res, GetLastError()); + TRACE("got %d with %u\n", res, GetLastError());
- return (apd->lazy) ? TRUE : res; + return apd->lazy || res; }
/******************************************************************