Fix copypaste mistake

This commit is contained in:
Camilla Berglund 2016-03-23 10:24:59 +01:00
parent 7ab7d8b4b1
commit 925208d28f

View File

@ -210,9 +210,9 @@ static void updateNormalHints(_GLFWwindow* window)
if (window->resizable)
{
if (window->minwidth != GLFW_DONT_CARE &&
window->minwidth != GLFW_DONT_CARE &&
window->minheight != GLFW_DONT_CARE &&
window->maxwidth != GLFW_DONT_CARE &&
window->maxwidth != GLFW_DONT_CARE)
window->maxheight != GLFW_DONT_CARE)
{
hints->flags |= (PMinSize | PMaxSize);
hints->min_width = window->minwidth;