summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-06-30 16:39:07 +0200
committerraysan5 <[email protected]>2021-06-30 16:39:07 +0200
commit9e7ca41f581e64be6eae62c2b98b4a6449e3f3d2 (patch)
treeb04e710be0c1e5b31b99a557448dd1683ae01e53 /src/text.c
parent0776f1e106a22dc1e5b2912305fd68967de1945e (diff)
downloadraylib-9e7ca41f581e64be6eae62c2b98b4a6449e3f3d2.tar.gz
raylib-9e7ca41f581e64be6eae62c2b98b4a6449e3f3d2.zip
Remove trailing spaces
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 bf65bf8c..e16547f3 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1567,10 +1567,10 @@ RLAPI const char *CodepointToUtf8(int codepoint, int *byteLength)
int *LoadCodepoints(const char *text, int *count)
{
int textLength = TextLength(text);
-
+
int bytesProcessed = 0;
int codepointsCount = 0;
-
+
// Allocate a big enough buffer to store as many codepoints as text bytes
int *codepoints = RL_CALLOC(textLength, sizeof(int));
@@ -1650,7 +1650,7 @@ int GetCodepoint(const char *text, int *bytesProcessed)
else if ((octet & 0xe0) == 0xc0)
{
// Two octets
-
+
// [0]xC2-DF [1]UTF8-tail(x80-BF)
unsigned char octet1 = text[1];