mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +03:00
Change is_number() increment to pre-increment
This is also to be consistent with is_positive_num().
This commit is contained in:
1 parent
62533300b0
commit
30b0fc828f
1 file changed
+1
-1
@@ -272,7 +272,7 @@ bool is_number(const char* str)
|
||||
return false;
|
||||
}
|
||||
|
||||
for (size_t i = 1; str[i] != '\0'; i++)
|
||||
for (size_t i = 1; str[i] != '\0'; ++i)
|
||||
{
|
||||
if (!SDL_isdigit(str[i]))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user