Browse Source

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

pull/5437/head
Kivi 3 weeks ago
committed by GitHub
parent
commit
ddb827fb6f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c View File

@ -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…
Cancel
Save