diff options
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c index 7017660b..a9c40d50 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1114,7 +1114,7 @@ Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Co { // Get next codepoint from byte string and glyph index in font int codepointByteCount = 0; - int codepoint = GetNextCodepoint(&text[i], &codepointByteCount); + int codepoint = GetCodepoint(&text[i], &codepointByteCount); int index = GetGlyphIndex(font, codepoint); // NOTE: Normally we exit the decoding sequence as soon as a bad byte is found (and return 0x3f) |
