From 59596e4266aa19692dcf29e3e0c4b3e7ffd50598 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 29 Apr 2023 20:39:36 +0200 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index bb8852826..500e9edde 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3000,7 +3000,7 @@ bool IsFileExtension(const char *fileName, const char *ext) const char **checkExts = TextSplit(ext, ';', &extCount); // WARNING: Module required: rtext char fileExtLower[MAX_FILE_EXTENSION_SIZE + 1] = { 0 }; - strncpy(fileExtLower, TextToLower(fileExt),MAX_FILE_EXTENSION_SIZE); // WARNING: Module required: rtext + strncpy(fileExtLower, TextToLower(fileExt), MAX_FILE_EXTENSION_SIZE); // WARNING: Module required: rtext for (int i = 0; i < extCount; i++) {