Browse Source

Update rexm.c

pull/5085/head
Ray 2 months ago
parent
commit
f5e95029b1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/rexm.c

+ 2
- 1
examples/rexm.c View File

@ -1025,7 +1025,7 @@ static rlExampleInfo *LoadExamplesData(const char *fileName, const char *categor
if (text != NULL)
{
int lineCount = 0;
">const char **lines = LoadTextLines(text, &lineCount);
char **lines = LoadTextLines(text, &lineCount);
for (int i = 0; i < lineCount; i++)
{
@ -1058,6 +1058,7 @@ static rlExampleInfo *LoadExamplesData(const char *fileName, const char *categor
}
}
UnloadTextLines(lines);
UnloadFileText(text);
}

Loading…
Cancel
Save