1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Renamed struct member to match other platforms.

This commit is contained in:
Camilla Berglund 2012-12-02 16:52:02 +01:00
parent 42c78fbe42
commit 3a773342e8

View File

@ -68,7 +68,7 @@ typedef struct
typedef struct
{
int present;
char product[256];
char name[256];
IOHIDDeviceInterface** interface;
@ -443,8 +443,8 @@ void _glfwInitJoysticks(void)
if (refCF)
{
CFStringGetCString(refCF,
joystick->product,
sizeof(joystick->product),
joystick->name,
sizeof(joystick->name),
kCFStringEncodingUTF8);
}
@ -632,6 +632,6 @@ int _glfwPlatformGetJoystickButtons(int joy, unsigned char* buttons,
const char* _glfwPlatformGetJoystickName(int joy)
{
return _glfwJoysticks[joy].product;
return _glfwJoysticks[joy].name;
}