diff options
| author | Ray <[email protected]> | 2020-02-24 12:05:54 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-24 12:05:54 +0100 |
| commit | 113a580021dc8f9d71c61804e5b8e746369e7626 (patch) | |
| tree | ca7889b635aa700937852f7fbe8e95727450c326 /src | |
| parent | a77273d8d80a113963a56076497c1c80f5b5e229 (diff) | |
| download | raylib-113a580021dc8f9d71c61804e5b8e746369e7626.tar.gz raylib-113a580021dc8f9d71c61804e5b8e746369e7626.zip | |
[rlgl] LoadText() variable scope improvement
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |
