diff --git a/src/rcore.c b/src/rcore.c index 74774e77b..9f93ecbbc 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2277,10 +2277,11 @@ int FileMove(const char *srcPath, const char *dstPath) int FileTextReplace(const char *fileName, const char *search, const char *replacement) { int result = 0; + +#if SUPPORT_MODULE_RTEXT char *fileText = NULL; char *fileTextUpdated = { 0 }; -#if SUPPORT_MODULE_RTEXT if (FileExists(fileName)) { fileText = LoadFileText(fileName);