Ver Fonte

Formatting.

Camilla Berglund há 12 anos atrás
pai
commit
0bac579506
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/joystick.c

+ 2 - 2
src/joystick.c

@@ -136,13 +136,13 @@ GLFWAPI const char* glfwGetJoystickName(int joy)
     if (!_glfwInitialized)
     {
         _glfwSetError(GLFW_NOT_INITIALIZED, NULL);
-        return 0;
+        return NULL;
     }
 
     if (joy < 0 || joy > GLFW_JOYSTICK_LAST)
     {
         _glfwSetError(GLFW_INVALID_ENUM, NULL);
-        return 0;
+        return NULL;
     }
 
     return _glfwPlatformGetJoystickName(joy);