1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-07 22:57:25 -04:00
Replaces tabs with spaces.  Makes code idiomatic.  Adds credit.

Closes #1043.
This commit is contained in:
Camilla Löwy 2017-07-13 01:35:15 +02:00
parent 50a228394f
commit e55e616f1f
2 changed files with 6 additions and 7 deletions

View File

@ -259,6 +259,7 @@ skills.
- Martin Capitanio
- David Carlier
- Chi-kwan Chan
- Michał Cichoń
- Lambert Clara
- Andrew Corrigan
- Noel Cower

View File

@ -576,15 +576,13 @@ void _glfwDetectJoystickConnectionWin32(void)
void _glfwDetectJoystickDisconnectionWin32(void)
{
int jid;
_GLFWjoystick* js;
for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
{
js = &_glfw.joysticks[jid];
for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
{
_GLFWjoystick* js = _glfw.joysticks + jid;
if (js->present)
_glfwPlatformPollJoystick(js, _GLFW_POLL_PRESENCE);
}
_glfwPlatformPollJoystick(js, _GLFW_POLL_PRESENCE);
}
}