mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Change is_number() increment to pre-increment
This is also to be consistent with is_positive_num().
This commit is contained in:
@@ -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