diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 4075fa5a8..5f8b355a4 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -1099,10 +1099,9 @@ is_ascii_control_char(char x) { } - (void)loadMainMenu -{ // removed by Kovid as it generated compiler warnings +{ // removed by Kovid as it generated compiler warnings } - @end // Set up the menu bar (manually) diff --git a/glfw/init.c b/glfw/init.c index 3b7d8dc36..bbbe18ad0 100644 --- a/glfw/init.c +++ b/glfw/init.c @@ -52,7 +52,7 @@ static _GLFWinitconfig _glfwInitHints = { GLFW_TRUE, // hat buttons GLFW_FALSE, // debug keyboard - GLFW_TRUE, // enable joystick + GLFW_TRUE, // enable joystick { GLFW_TRUE, // macOS menu bar GLFW_TRUE // macOS bundle chdir diff --git a/glfw/x11_init.c b/glfw/x11_init.c index 558d94a9a..d64ab4acb 100644 --- a/glfw/x11_init.c +++ b/glfw/x11_init.c @@ -660,7 +660,6 @@ int _glfwPlatformInit(void) #if defined(__linux__) if (_glfw.hints.init.enableJoysticks) { - printf("1111111111\n"); if (!_glfwInitJoysticksLinux()) return GLFW_FALSE; if (_glfw.linjs.inotify > 0)