mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
+2
-2
@@ -265,11 +265,11 @@ GLFWAPI void glfwInitHintString(int hint, const char* value)
|
|||||||
case GLFW_X11_WM_CLASS_NAME:
|
case GLFW_X11_WM_CLASS_NAME:
|
||||||
strncpy(_glfwInitHints.x11.className, value,
|
strncpy(_glfwInitHints.x11.className, value,
|
||||||
sizeof(_glfwInitHints.x11.className) - 1);
|
sizeof(_glfwInitHints.x11.className) - 1);
|
||||||
break;
|
return;
|
||||||
case GLFW_X11_WM_CLASS_CLASS:
|
case GLFW_X11_WM_CLASS_CLASS:
|
||||||
strncpy(_glfwInitHints.x11.classClass, value,
|
strncpy(_glfwInitHints.x11.classClass, value,
|
||||||
sizeof(_glfwInitHints.x11.classClass) - 1);
|
sizeof(_glfwInitHints.x11.classClass) - 1);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_glfwInputError(GLFW_INVALID_ENUM,
|
_glfwInputError(GLFW_INVALID_ENUM,
|
||||||
|
|||||||
Reference in New Issue
Block a user