Patch from Michael Lowe (part of #5473) replace true by PR_TRUE

This commit is contained in:
mcmullen%netscape.com 1999-04-26 19:34:39 +00:00
parent 64f5c7dbe1
commit 6145ac6cde
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}