From 6bf746d5319b94566be9827299f431cca7cca6f4 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 28 Oct 2019 20:39:39 +0100 Subject: [PATCH] Corrected issue with function renamed --- examples/text/text_unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/text/text_unicode.c b/examples/text/text_unicode.c index 3525f01a..53803e05 100644 --- a/examples/text/text_unicode.c +++ b/examples/text/text_unicode.c @@ -271,7 +271,7 @@ int main(int argc, char **argv) // Draw the info text below the main message int size = strlen(messages[message].text); - unsigned int len = TextCountCodepoints(messages[message].text); + int len = GetCodepointsCount(messages[message].text); const char *info = TextFormat("%s %u characters %i bytes", messages[message].language, len, size); sz = MeasureTextEx(GetFontDefault(), info, 10, 1.0f); Vector2 pos = { textRect.x + textRect.width - sz.x, msgRect.y + msgRect.height - sz.y - 2 };