mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 07:48:15 +00:00
tweak
This commit is contained in:
@@ -1340,7 +1340,7 @@ int TextToInteger(const char *text)
|
|||||||
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;
|
return value*sign;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user