From 925208d28ffc6f79994887c4d3c1e479b0459370 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 23 Mar 2016 10:24:59 +0100 Subject: [PATCH] Fix copypaste mistake --- src/x11_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index 2250ec2e..ff38a82d 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -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;