Ver código fonte

Update rtext.c

pull/5365/head
Ray 2 meses atrás
pai
commit
ec828071ef
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      src/rtext.c

+ 4
- 0
src/rtext.c Ver arquivo

@ -1452,6 +1452,10 @@ Rectangle GetGlyphAtlasRec(Font font, int codepoint)
// NOTE: Returned lines end with null terminator '\0'
char **LoadTextLines(const char *text, int *count)
{
char **lines = NULL;
if (text == NULL) { *count = 0; return lines; }
int lineCount = 1;
int textSize = (int)strlen(text);

Carregando…
Cancelar
Salvar