Просмотр исходного кода

Fixed LoadCodepoints declaring a new local variable shadowing `codpoints`

pull/5430/head
Kivi 2 месяцев назад
Родитель
Сommit
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++)

Загрузка…
Отмена
Сохранить