From 1f0122e05c9442c44bfc316ae0f706dc5cbf65ce Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 23 May 2013 14:41:43 +0200 Subject: [PATCH] Fixed uses of renamed symbol. --- tests/clipboard.c | 4 ++-- tests/events.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/clipboard.c b/tests/clipboard.c index ac9f9988..a20e59a9 100644 --- a/tests/clipboard.c +++ b/tests/clipboard.c @@ -56,7 +56,7 @@ static void key_callback(GLFWwindow* window, int key, int action, int mods) break; case GLFW_KEY_V: - if (mods == GLFW_MOD_CTRL) + if (mods == GLFW_MOD_CONTROL) { const char* string; @@ -69,7 +69,7 @@ static void key_callback(GLFWwindow* window, int key, int action, int mods) break; case GLFW_KEY_C: - if (mods == GLFW_MOD_CTRL) + if (mods == GLFW_MOD_CONTROL) { const char* string = "Hello GLFW World!"; glfwSetClipboardString(window, string); diff --git a/tests/events.c b/tests/events.c index d01663fb..3056ba8a 100644 --- a/tests/events.c +++ b/tests/events.c @@ -215,7 +215,7 @@ static const char* get_mods_name(int mods) if (mods & GLFW_MOD_SHIFT) strcat(name, " shift"); - if (mods & GLFW_MOD_CTRL) + if (mods & GLFW_MOD_CONTROL) strcat(name, " control"); if (mods & GLFW_MOD_ALT) strcat(name, " alt");