mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 14:04:36 +00:00
Formatting.
This commit is contained in:
parent
3d951c3f5b
commit
22872a2c46
@ -75,13 +75,13 @@ void _glfwParseGLVersion(int* major, int* minor, int* rev)
|
|||||||
{
|
{
|
||||||
ptr++;
|
ptr++;
|
||||||
for (_minor = 0; *ptr >= '0' && *ptr <= '9'; ptr++)
|
for (_minor = 0; *ptr >= '0' && *ptr <= '9'; ptr++)
|
||||||
_minor = 10*_minor + (*ptr - '0');
|
_minor = 10 * _minor + (*ptr - '0');
|
||||||
|
|
||||||
if (*ptr == '.')
|
if (*ptr == '.')
|
||||||
{
|
{
|
||||||
ptr++;
|
ptr++;
|
||||||
for (_rev = 0; *ptr >= '0' && *ptr <= '9'; ptr++)
|
for (_rev = 0; *ptr >= '0' && *ptr <= '9'; ptr++)
|
||||||
_rev = 10*_rev + (*ptr - '0');
|
_rev = 10 * _rev + (*ptr - '0');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user