Преглед изворни кода

Update rtext.c

pull/5365/head
Ray пре 2 месеци
родитељ
комит
ec828071ef
1 измењених фајлова са 4 додато и 0 уклоњено
  1. +4
    -0
      src/rtext.c

+ 4
- 0
src/rtext.c Прегледај датотеку

@ -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);

Loading…
Откажи
Сачувај