From 99dc2c48bdaa07a4aa892c5ff2af215eca3698a7 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 17 Apr 2016 13:44:07 +0200 Subject: [PATCH] Fix setting of GLFW_MAXIMIZED hint Caused by a bad rebase. Fixes #738. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 8aec74b8..104c703e 100644 --- a/src/window.c +++ b/src/window.c @@ -339,7 +339,7 @@ GLFWAPI void glfwWindowHint(int hint, int value) _glfw.hints.window.floating = value ? GLFW_TRUE : GLFW_FALSE; break; case GLFW_MAXIMIZED: - _glfw.hints.window.maximized = hint ? GLFW_TRUE : GLFW_FALSE; + _glfw.hints.window.maximized = value ? GLFW_TRUE : GLFW_FALSE; break; case GLFW_VISIBLE: _glfw.hints.window.visible = value ? GLFW_TRUE : GLFW_FALSE;