mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Cleanup
Replaces tabs with spaces. Makes code idiomatic. Adds credit. Closes #1043.
This commit is contained in:
parent
50a228394f
commit
e55e616f1f
|
@ -259,6 +259,7 @@ skills.
|
||||||
- Martin Capitanio
|
- Martin Capitanio
|
||||||
- David Carlier
|
- David Carlier
|
||||||
- Chi-kwan Chan
|
- Chi-kwan Chan
|
||||||
|
- Michał Cichoń
|
||||||
- Lambert Clara
|
- Lambert Clara
|
||||||
- Andrew Corrigan
|
- Andrew Corrigan
|
||||||
- Noel Cower
|
- Noel Cower
|
||||||
|
|
|
@ -576,12 +576,10 @@ void _glfwDetectJoystickConnectionWin32(void)
|
||||||
void _glfwDetectJoystickDisconnectionWin32(void)
|
void _glfwDetectJoystickDisconnectionWin32(void)
|
||||||
{
|
{
|
||||||
int jid;
|
int jid;
|
||||||
_GLFWjoystick* js;
|
|
||||||
|
|
||||||
for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
|
for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
|
||||||
{
|
{
|
||||||
js = &_glfw.joysticks[jid];
|
_GLFWjoystick* js = _glfw.joysticks + jid;
|
||||||
|
|
||||||
if (js->present)
|
if (js->present)
|
||||||
_glfwPlatformPollJoystick(js, _GLFW_POLL_PRESENCE);
|
_glfwPlatformPollJoystick(js, _GLFW_POLL_PRESENCE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user