summaryrefslogtreecommitdiffhomepage
path: root/src/rtext.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-26 23:56:03 +0200
committerRay <[email protected]>2023-10-26 23:56:03 +0200
commite4547eb4225189eadd2c6f4e87b5e32c4a285b88 (patch)
tree8075dbe88c993b29e2d16a20bc57d3db7795bd91 /src/rtext.c
parent1cef62cf052432755e9955aa8798eca339dcf1d3 (diff)
downloadraylib-e4547eb4225189eadd2c6f4e87b5e32c4a285b88.tar.gz
raylib-e4547eb4225189eadd2c6f4e87b5e32c4a285b88.zip
Remove trail spaces
Diffstat (limited to 'src/rtext.c')
-rw-r--r--src/rtext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rtext.c b/src/rtext.c
index 5b43bfb9..b83eb171 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -1349,7 +1349,7 @@ unsigned int TextLength(const char *text)
if (text != NULL)
{
// NOTE: Alternative: use strlen(text)
-
+
while (*text++) length++;
}
@@ -1418,7 +1418,7 @@ int TextCopy(char *dst, const char *src)
if ((src != NULL) && (dst != NULL))
{
// NOTE: Alternative: use strcpy(dst, src)
-
+
while (*src != '\0')
{
*dst = *src;
@@ -1463,7 +1463,7 @@ const char *TextSubtext(const char *text, int position, int length)
}
if (length >= textLength) length = textLength;
-
+
// NOTE: Alternative: memcpy(buffer, text + position, length)
for (int c = 0 ; c < length ; c++)