aboutsummaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-09-14 12:47:31 +0200
committerRay <raysan5@gmail.com>2018-09-14 12:47:31 +0200
commit5b09630d45ec5bfaa301c5dc0f27c0d44f57bbb8 (patch)
tree2fabc5873d6333e41f17a24d6306d8a330e0f1c1 /src/text.c
parentf32e23c11bcfca1dc54db09b35aba549f952242c (diff)
downloadraylib-5b09630d45ec5bfaa301c5dc0f27c0d44f57bbb8.tar.gz
raylib-5b09630d45ec5bfaa301c5dc0f27c0d44f57bbb8.zip
Update mini_al to v0.8.8
Some minor tweaks around
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index 1e702c0e..bc21e4fe 100644
--- a/src/text.c
+++ b/src/text.c
@@ -671,11 +671,11 @@ const char *SubText(const char *text, int position, int length)
for (int c = 0 ; c < length ; c++)
{
- *(buffer+c) = *(text+position);
+ *(buffer + c) = *(text + position);
text++;
}
- *(buffer+length) = '\0';
+ *(buffer + length) = '\0';
return buffer;
}