Browse Source

Corrected typo

raysan5 5 years ago
parent
commit
71b06caed4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/textures.c

+ 1 - 1
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