mirror of
				https://github.com/glfw/glfw.git
				synced 2025-11-04 14:16:42 +00:00 
			
		
		
		
	Formatting.
This commit is contained in:
		
							parent
							
								
									3a773342e8
								
							
						
					
					
						commit
						0bac579506
					
				@ -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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user