mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +01:00
Change is_number() increment to pre-increment
This is also to be consistent with is_positive_num().
This commit is contained in:
parent
62533300b0
commit
30b0fc828f
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ bool is_number(const char* str)
|
||||||
return false;
|
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]))
|
if (!SDL_isdigit(str[i]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue