From 196a7cf7d2bafa42e1f1f53cb70a98bbf7095f29 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Sat, 8 Sep 2018 17:18:24 +0200 Subject: [PATCH] Fixed zeroing of height argument. --- src/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monitor.c b/src/monitor.c index b2ebe9e54..5527c88a7 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -307,8 +307,8 @@ GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* handle, int* xpos, int* ypos, i *ypos = 0; if (width) *width = 0; - if (width) - *width = 0; + if (height) + *height = 0; _GLFW_REQUIRE_INIT();