commit | e6d22346f98e1ef18c898f13c02de7315a45bc32 | [log] [tgz] |
---|---|---|
author | Doug Binks <doug@enkisoftware.com> | Sat Sep 08 17:18:24 2018 +0200 |
committer | Camilla Löwy <elmindreda@elmindreda.org> | Tue Mar 05 16:10:59 2019 +0100 |
tree | fe3f60c7b2afb8d694fa7e632cd7ae7b64bef273 | |
parent | 154db76a6c6f39aa7988502832e3d7f769d8107a [diff] |
Fix copypaste error in glfwGetMonitorWorkarea Related to #1322.
diff --git a/src/monitor.c b/src/monitor.c index 869fdfb..e8d6bcb 100644 --- a/src/monitor.c +++ b/src/monitor.c
@@ -341,8 +341,8 @@ *ypos = 0; if (width) *width = 0; - if (width) - *width = 0; + if (height) + *height = 0; _GLFW_REQUIRE_INIT();