diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index aef9212..3eb6612 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -866,13 +866,12 @@ namespace Raylib_cs } /// Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure - /// single codepoint / "char" public static int GetCodepoint(string text, ref int codepointSize) { using var str1 = text.ToUTF8Buffer(); fixed (int* p = &codepointSize) { - return GetCodepointNext(str1.AsPointer(), p); + return GetCodepoint(str1.AsPointer(), p); } }