From 2fc42e9017099fa0024fb79154c73d77eba50270 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 14 Sep 2010 00:15:01 +0200 Subject: [PATCH] Fixed missing NULL in return statement. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index c984f636..208a8547 100644 --- a/src/window.c +++ b/src/window.c @@ -979,7 +979,7 @@ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window) if (!_glfwInitialized) { _glfwSetError(GLFW_NOT_INITIALIZED); - return; + return NULL; } return window->userPointer;