mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-30 19:08:51 -05:00
Formatting.
This commit is contained in:
parent
3d951c3f5b
commit
22872a2c46
|
@ -75,13 +75,13 @@ void _glfwParseGLVersion(int* major, int* minor, int* rev)
|
|||
{
|
||||
ptr++;
|
||||
for (_minor = 0; *ptr >= '0' && *ptr <= '9'; ptr++)
|
||||
_minor = 10*_minor + (*ptr - '0');
|
||||
_minor = 10 * _minor + (*ptr - '0');
|
||||
|
||||
if (*ptr == '.')
|
||||
{
|
||||
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