diff options
| author | jussi | 2023-12-06 18:41:01 +0200 |
|---|---|---|
| committer | jussi | 2023-12-06 18:41:01 +0200 |
| commit | 6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7 (patch) | |
| tree | 8aead333dbeb5abc5deacdcbb243a5a1291c5079 /src/text.c | |
| parent | 4a783a156e1ab6ea9a8b69cd75db6aa33bb6eefc (diff) | |
| download | reilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.tar.gz reilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.tar.bz2 reilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.zip | |
Files management functions.
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |
