Fixed key names in the example and test programs.
diff --git a/tests/sharing.c b/tests/sharing.c
index b1b335c..f81580c 100644
--- a/tests/sharing.c
+++ b/tests/sharing.c
@@ -37,7 +37,7 @@
 
 static void key_callback(GLFWwindow window, int key, int action)
 {
-    if (action == GLFW_PRESS && key == GLFW_KEY_ESC)
+    if (action == GLFW_PRESS && key == GLFW_KEY_ESCAPE)
         glfwCloseWindow(window);
 }