mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Renamed global struct and substructs.
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making global variable names easier to read and type. Partially inspired by the internal naming conventions of glwt.
This commit is contained in:
@@ -235,9 +235,9 @@ const char* _glfwPlatformGetJoystickName(int joy)
|
||||
|
||||
_glfw_joyGetDevCaps(i, &jc, sizeof(JOYCAPS));
|
||||
|
||||
free(_glfwLibrary.Win32.joyNames[i]);
|
||||
_glfwLibrary.Win32.joyNames[i] = _glfwCreateUTF8FromWideString(jc.szPname);
|
||||
free(_glfw.win32.joyNames[i]);
|
||||
_glfw.win32.joyNames[i] = _glfwCreateUTF8FromWideString(jc.szPname);
|
||||
|
||||
return _glfwLibrary.Win32.joyNames[i];
|
||||
return _glfw.win32.joyNames[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user