Przeglądaj źródła

Fixed LoadCodepoints declaring a new local variable shadowing `codpoints` (#5430)

pull/5437/head
Kivi 1 miesiąc temu
committed by GitHub
rodzic
commit
ddb827fb6f
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz