summaryrefslogtreecommitdiffhomepage
path: root/src/rtext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtext.c')
-rw-r--r--src/rtext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rtext.c b/src/rtext.c
index a372ff1f..d0abacd1 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -1525,9 +1525,8 @@ int GetCodepointCount(const char *text)
// Get next codepoint in a UTF-8 encoded text, scanning until '\0' is found
// When a invalid UTF-8 byte is encountered we exit as soon as possible and a '?'(0x3f) codepoint is returned
// Total number of bytes processed are returned as a parameter
-// NOTE: the standard says U+FFFD should be returned in case of errors
+// NOTE: The standard says U+FFFD should be returned in case of errors
// but that character is not supported by the default font in raylib
-// TODO: Optimize this code for speed!!
int GetCodepoint(const char *text, int *bytesProcessed)
{
/*