소스 검색

Fixed LoadCodepoints declaring a new local variable shadowing `codpoints`

pull/5430/head
Kivi 2 달 전
부모
커밋
7da18e3fcf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c 파일 보기

@ -2090,7 +2090,7 @@ int *LoadCodepoints(const char *text, int *count)
int textLength = TextLength(text);
// Allocate a big enough buffer to store as many codepoints as text bytes
kt">int *codepoints = (int *)RL_CALLOC(textLength, sizeof(int));
codepoints = (int *)RL_CALLOC(textLength, sizeof(int));
int codepointSize = 0;
for (int i = 0; i < textLength; codepointCount++)

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