summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-05-18 16:14:18 +0200
committerRay <[email protected]>2023-05-18 16:14:18 +0200
commit51387dfbfba7f9e8d1698183ef279c5785fd0d71 (patch)
treed326eb0d9f0acdf2d4df97ee42648420cbda4845 /src
parenta3e78c5453e5df92cda57a178101a143753cdc51 (diff)
downloadraylib-51387dfbfba7f9e8d1698183ef279c5785fd0d71.tar.gz
raylib-51387dfbfba7f9e8d1698183ef279c5785fd0d71.zip
tweak
Diffstat (limited to 'src')
-rw-r--r--src/rtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c
index 1f9ce1b6..dce838c2 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -1340,7 +1340,7 @@ int TextToInteger(const char *text)
text++;
}
- for (int i = 0; ((text[i] >= '0') && (text[i] <= '9')); ++i) value = value*10 + (int)(text[i] - '0');
+ for (int i = 0; ((text[i] >= '0') && (text[i] <= '9')); i++) value = value*10 + (int)(text[i] - '0');
return value*sign;
}