summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-03-15 17:06:08 +0100
committerraysan5 <[email protected]>2020-03-15 17:06:08 +0100
commit71b06caed4004a07d77f7e59a8cf12ebc1f8f595 (patch)
tree0f8c705fc2958f7c4418340325a75c89f63444f5
parent4611406c68238feb2c4e4c1c739c91c4d1972361 (diff)
downloadraylib-71b06caed4004a07d77f7e59a8cf12ebc1f8f595.tar.gz
raylib-71b06caed4004a07d77f7e59a8cf12ebc1f8f595.zip
Corrected typo
-rw-r--r--src/textures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c
index 91753087..9122e3b0 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -1956,7 +1956,7 @@ Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Co
{
// NOTE: Fixed line spacing of 1.5 line-height
// TODO: Support custom line spacing defined by user
- textOffsetY += font.baseSize + font.baseSize/2);
+ textOffsetY += (font.baseSize + font.baseSize/2);
textOffsetX = 0.0f;
}
else