summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-06-13 17:08:30 +0200
committerRay <[email protected]>2021-06-13 17:08:30 +0200
commit4b93feb172addaf266f2cccb2e08c170cf5b9767 (patch)
tree3986fe085b1546a2bc364dbeddb38832b49d44e9 /src/text.c
parentd875891a3c2621ab40733ca3569eca9e054a6506 (diff)
downloadraylib-4b93feb172addaf266f2cccb2e08c170cf5b9767.tar.gz
raylib-4b93feb172addaf266f2cccb2e08c170cf5b9767.zip
Remove trail spaces
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index 9a42796e..e18afe41 100644
--- a/src/text.c
+++ b/src/text.c
@@ -849,7 +849,7 @@ void DrawText(const char *text, int posX, int posY, int fontSize, Color color)
void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint)
{
if (font.texture.id == 0) font = GetFontDefault(); // Security check in case of not valid font
-
+
int length = TextLength(text); // Total length in bytes of the text, scanned by codepoints in loop
int textOffsetY = 0; // Offset between lines (on line break '\n')