mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Fix typo in GetCodepoint util
This commit is contained in:
@ -866,13 +866,12 @@ namespace Raylib_cs
|
||||
}
|
||||
|
||||
/// <summary>Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure</summary>
|
||||
/// <returns>single codepoint / "char"</returns>
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user