From 92676d4c5c85be418c951885ffcb45e80e9dc1a8 Mon Sep 17 00:00:00 2001 From: n67094 Date: Mon, 21 Jun 2021 18:53:17 +0200 Subject: [PATCH] fix indent --- src/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index 941917a1b..bdd19fdc0 100644 --- a/src/text.c +++ b/src/text.c @@ -931,8 +931,8 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f { glyphWidth = (font.chars[index].advanceX == 0) ? (int)(font.recs[index].width) : (int)(font.chars[index].advanceX); - if (i + 1 < length) - glyphWidth = glyphWidth * scaleFactor + spacing; + if (i + 1 < length) + glyphWidth = glyphWidth * scaleFactor + spacing; } // NOTE: When wordWrap is ON we first measure how much of the text we can draw before going outside of the rec container