From bc649e1632d1bd9f51cc8b43bd72a8a269b090ee Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 3 May 2016 17:44:46 +0200 Subject: [PATCH] Formatting --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index 89b0189a..9edc864d 100644 --- a/src/window.c +++ b/src/window.c @@ -572,7 +572,7 @@ GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* handle, int numer, int denom) GLFWAPI void glfwGetFramebufferSize(GLFWwindow* handle, int* width, int* height) { _GLFWwindow* window = (_GLFWwindow*) handle; - assert(window); + assert(window != NULL); if (width) *width = 0; @@ -733,7 +733,7 @@ GLFWAPI void glfwSetWindowMonitor(GLFWwindow* wh, { _GLFWwindow* window = (_GLFWwindow*) wh; _GLFWmonitor* monitor = (_GLFWmonitor*) mh; - assert(window); + assert(window != NULL); _GLFW_REQUIRE_INIT();