From 97cce733a2227d28fbd8c19cb39ffa51ce505c94 Mon Sep 17 00:00:00 2001 From: InviseDivine Date: Fri, 12 Jun 2026 14:42:34 +0200 Subject: [PATCH] fix code style --- src/rcore.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index 94ecdbe86..fde64229d 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2237,9 +2237,12 @@ int FileCopy(const char *srcPath, const char *dstPath) unsigned char *srcFileData = LoadFileData(srcPath, &srcDataSize); // Create required paths if they do not exist - if (DirectoryExists(GetDirectoryPath(dstPath))) { + if (DirectoryExists(GetDirectoryPath(dstPath))) + { result = 0; - } else { + } + else + { result = MakeDirectory(GetDirectoryPath(dstPath)); }