Reemove trailing spaces

This commit is contained in:
Ray 2026-06-16 21:12:12 +02:00
commit f9c41a0866

View file

@ -2263,11 +2263,11 @@ int FileMove(const char *srcPath, const char *dstPath)
if (FileExists(srcPath))
{
result = FileCopy(srcPath, dstPath);
if (result == 0)
{
// Make sure file has been correctly copied before removing
if (FileExists(dstPath) && (GetFileLength(srcPath) == GetFileLength(dstPath)))
if (FileExists(dstPath) && (GetFileLength(srcPath) == GetFileLength(dstPath)))
{
result = FileRemove(srcPath);
if (result != 0) TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to remove source file after copy", srcPath);