瀏覽代碼

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

Loading…
取消
儲存