mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-21 22:43:40 -04:00
Update rcore.c
This commit is contained in:
@ -2278,10 +2278,8 @@ int FileMove(const char *srcPath, const char *dstPath)
|
|||||||
|
|
||||||
if (FileExists(srcPath))
|
if (FileExists(srcPath))
|
||||||
{
|
{
|
||||||
if (FileCopy(srcPath, dstPath) == 0)
|
if (FileCopy(srcPath, dstPath) == 0) result = FileRemove(srcPath);
|
||||||
result = FileRemove(srcPath);
|
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to copy file to [%s]", srcPath, dstPath);
|
||||||
else
|
|
||||||
TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to copy file to [%s]", srcPath, dstPath);
|
|
||||||
}
|
}
|
||||||
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Source file does not exist", srcPath);
|
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Source file does not exist", srcPath);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user