Skip to content
Snippets Groups Projects
Unverified Commit 68809869 authored by Kovid Goyal's avatar Kovid Goyal
Browse files

Fix spurious error from glfwInitHintString

Closes #1138
parent 1fe319d2
No related branches found
No related tags found
No related merge requests found
......@@ -265,11 +265,11 @@ GLFWAPI void glfwInitHintString(int hint, const char* value)
case GLFW_X11_WM_CLASS_NAME:
strncpy(_glfwInitHints.x11.className, value,
sizeof(_glfwInitHints.x11.className) - 1);
break;
return;
case GLFW_X11_WM_CLASS_CLASS:
strncpy(_glfwInitHints.x11.classClass, value,
sizeof(_glfwInitHints.x11.classClass) - 1);
break;
return;
}
_glfwInputError(GLFW_INVALID_ENUM,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment