Ver a proveniência

Update rexm.c

pull/5085/head
Ray há 2 meses
ascendente
cometimento
f5e95029b1
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      examples/rexm.c

+ 2
- 1
examples/rexm.c Ver ficheiro

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

Carregando…
Cancelar
Guardar