brankoku
há 5 anos
committed by
GitHub
ascendente
cometimento
572969d8b7
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
3 adições e
1 eliminações
-
src/rlgl.h
|
|
@ -3013,8 +3013,10 @@ char *LoadText(const char *fileName) |
|
|
if (count < size) |
|
|
if (count < size) |
|
|
{ |
|
|
{ |
|
|
text = RL_REALLOC(text, count + 1); |
|
|
text = RL_REALLOC(text, count + 1); |
|
|
text[count] = '\0'; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// zero-terminate the string |
|
|
|
|
|
text[count] = '\0'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
fclose(textFile); |
|
|
fclose(textFile); |
|
|
|