From 6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 6 Dec 2023 18:41:01 +0200 Subject: Files management functions. --- src/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text.c') diff --git a/src/text.c b/src/text.c index 4c20966..a670f3b 100644 --- a/src/text.c +++ b/src/text.c @@ -19,7 +19,7 @@ bool wordWrap, Color *tints, int tintCount, Color *backTints, int backTintCount // Word/character wrapping mechanism variables enum { MEASURE_STATE = 0, DRAW_STATE = 1 }; - int state = wordWrap? MEASURE_STATE : DRAW_STATE; + int state = wordWrap ? MEASURE_STATE : DRAW_STATE; int startLine = -1; // Index where to begin drawing (where a line begins) int endLine = -1; // Index where to stop drawing (where a line ends) @@ -29,7 +29,7 @@ bool wordWrap, Color *tints, int tintCount, Color *backTints, int backTintCount Vector2 mousePos = GetMousePosition(); int mouseChar = -1; - for (int i = 0, k = 0; i < length; i++, k++) + for ( int i = 0, k = 0; i < length; i++, k++) { if ( i < tintCount ) { tint = tints[i]; -- cgit v1.2.3