Commit 6a512d0d authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

localspl: Use BOOL type where appropriate.

parent 1c53957f
......@@ -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;
}
/******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment