fix code style
This commit is contained in:
parent
248dbcfe04
commit
97cce733a2
|
|
@ -2237,9 +2237,12 @@ int FileCopy(const char *srcPath, const char *dstPath)
|
||||||
unsigned char *srcFileData = LoadFileData(srcPath, &srcDataSize);
|
unsigned char *srcFileData = LoadFileData(srcPath, &srcDataSize);
|
||||||
|
|
||||||
// Create required paths if they do not exist
|
// Create required paths if they do not exist
|
||||||
if (DirectoryExists(GetDirectoryPath(dstPath))) {
|
if (DirectoryExists(GetDirectoryPath(dstPath)))
|
||||||
|
{
|
||||||
result = 0;
|
result = 0;
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
result = MakeDirectory(GetDirectoryPath(dstPath));
|
result = MakeDirectory(GetDirectoryPath(dstPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user