summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-06-10 17:43:58 +0200
committerRay <[email protected]>2021-06-10 17:43:58 +0200
commitb0dcdf688f587e88ae1426f0987d1b726dde38d2 (patch)
treeacc03f1a9a89f05ea7671636d1c231727b6105e2 /src/text.c
parentd3387c952ae9eaa223777b2fd97674f580476611 (diff)
downloadraylib-b0dcdf688f587e88ae1426f0987d1b726dde38d2.tar.gz
raylib-b0dcdf688f587e88ae1426f0987d1b726dde38d2.zip
Reviewed functions description
Replaced: Returns -> Get
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text.c b/src/text.c
index 2276c081..6f56c895 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1123,7 +1123,7 @@ Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing
return vec;
}
-// Returns index position for a unicode character on spritefont
+// Get index position for a unicode character on spritefont
int GetGlyphIndex(Font font, int codepoint)
{
#ifndef GLYPH_NOTFOUND_CHAR_FALLBACK
@@ -1586,7 +1586,7 @@ int *GetCodepoints(const char *text, int *count)
return codepoints;
}
-// Returns total number of characters(codepoints) in a UTF8 encoded text, until '\0' is found
+// Get total number of characters(codepoints) in a UTF8 encoded text, until '\0' is found
// NOTE: If an invalid UTF8 sequence is encountered a '?'(0x3f) codepoint is counted instead
int GetCodepointsCount(const char *text)
{
@@ -1608,7 +1608,7 @@ int GetCodepointsCount(const char *text)
}
#endif // SUPPORT_TEXT_MANIPULATION
-// Returns next codepoint in a UTF8 encoded text, scanning until '\0' is found
+// Get next codepoint in a UTF8 encoded text, scanning until '\0' is found
// When a invalid UTF8 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