소스 검색

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

불러오는 중...
취소
저장