From 0bac5795061cdac2d5e668ab97bec68bb0a169c5 Mon Sep 17 00:00:00 2001
From: Camilla Berglund <elmindreda@elmindreda.org>
Date: Sun, 2 Dec 2012 16:53:28 +0100
Subject: [PATCH] Formatting.

---
 src/joystick.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/joystick.c b/src/joystick.c
index 59107e31..9c20303d 100644
--- a/src/joystick.c
+++ b/src/joystick.c
@@ -136,13 +136,13 @@ GLFWAPI const char* glfwGetJoystickName(int joy)
     if (!_glfwInitialized)
     {
         _glfwSetError(GLFW_NOT_INITIALIZED, NULL);
-        return 0;
+        return NULL;
     }
 
     if (joy < 0 || joy > GLFW_JOYSTICK_LAST)
     {
         _glfwSetError(GLFW_INVALID_ENUM, NULL);
-        return 0;
+        return NULL;
     }
 
     return _glfwPlatformGetJoystickName(joy);