forked from speed-dreams/speed-dreams-code
Fixed GfFileCopy always returning false
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2893 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1d504edab0913e06081d3a28bd945d43aa0b1c8a Former-commit-id: 9ac334c1dd302cb53ebab7c50b051128b14b0cba
This commit is contained in:
parent
9b54f07051
commit
7a1e43792e
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName)
|
|||
return false;
|
||||
}
|
||||
|
||||
GfLogDebug("Updating %s\n", pszTgtName);
|
||||
GfLogDebug("Copying %s to %s\n", pszSrcName, pszTgtName);
|
||||
|
||||
while( !feof( in ) )
|
||||
{
|
||||
|
@ -111,6 +111,6 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName)
|
|||
chmod( pszTgtName, 0640 );
|
||||
#endif //!WIN32
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue