+ Fixed return value

This commit is contained in:
unknown
2015-05-03 18:50:21 +02:00
parent eb4d88942e
commit 250891b7c5
2 changed files with 20 additions and 1 deletions

View File

@@ -965,7 +965,10 @@ bool WINAPI SFileGetFileName(HANDLE hFile, char * szFileName)
// Copy the file name to the output buffer, if any
if(pFileEntry->szFileName && szFileName)
{
strcpy(szFileName, pFileEntry->szFileName);
nError = ERROR_SUCCESS;
}
}
}