From 99b121616a9c31440730c2669e91876fc1949a8f Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Sun, 21 May 2023 07:47:11 +0100 Subject: [PATCH] Fix typo in GetCodepoint util --- Raylib-cs/types/Raylib.Utils.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } }