summaryrefslogtreecommitdiffhomepage
path: root/src/rtext.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-09-23 00:18:47 +0200
committerRay <[email protected]>2021-09-23 00:18:47 +0200
commit00a763ea4485bfa00c3b65c500a466c77e2cc170 (patch)
tree365cced2a243483e835df59922ae27652cbe4612 /src/rtext.c
parentdcd289d931d3c9d836c23068e1420930b566db6a (diff)
downloadraylib-00a763ea4485bfa00c3b65c500a466c77e2cc170.tar.gz
raylib-00a763ea4485bfa00c3b65c500a466c77e2cc170.zip
Reviewed some TODO comments
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)
{
/*