diff --git a/src/rlgl.h b/src/rlgl.h index 65117120a..3bbf7f001 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -3001,12 +3001,11 @@ Shader GetShaderDefault(void) // NOTE: text chars array should be freed manually char *LoadText(const char *fileName) { - FILE *textFile = NULL; char *text = NULL; if (fileName != NULL) { - textFile = fopen(fileName,"rt"); + FILE *textFile = fopen(fileName, "rt"); if (textFile != NULL) {