Formatting.

This commit is contained in:
Camilla Berglund 2010-11-17 14:41:39 +01:00
parent 3d951c3f5b
commit 22872a2c46

View File

@ -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');
} }
} }