mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Patch from Michael Lowe (part of #5473) replace true by PR_TRUE
This commit is contained in:
parent
64f5c7dbe1
commit
6145ac6cde
@ -316,7 +316,7 @@ nsresult nsFileSpec::Copy(const nsFileSpec& inParentDirectory) const
|
||||
nsCRT::free(leafname);
|
||||
|
||||
// CopyFile returns non-zero if succeeds
|
||||
int copyOK = CopyFile(GetCString(), destPath, true);
|
||||
int copyOK = CopyFile(GetCString(), destPath, PR_TRUE);
|
||||
if (copyOK)
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -316,7 +316,7 @@ nsresult nsFileSpec::Copy(const nsFileSpec& inParentDirectory) const
|
||||
nsCRT::free(leafname);
|
||||
|
||||
// CopyFile returns non-zero if succeeds
|
||||
int copyOK = CopyFile(GetCString(), destPath, true);
|
||||
int copyOK = CopyFile(GetCString(), destPath, PR_TRUE);
|
||||
if (copyOK)
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user