From d874f7ac98e3348554f3a2e2de6effbd0d618901 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 14 Sep 2010 01:11:22 +0200 Subject: [PATCH] Fixed missing return value. --- src/fullscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fullscreen.c b/src/fullscreen.c index e8a5dd7c..55e9c548 100644 --- a/src/fullscreen.c +++ b/src/fullscreen.c @@ -78,7 +78,7 @@ GLFWAPI int glfwGetVideoModes(GLFWvidmode* list, int maxcount) if (!_glfwInitialized) { _glfwSetError(GLFW_NOT_INITIALIZED); - return; + return 0; } if (maxcount <= 0 || list == NULL)