mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 21:04:54 +00:00
Fixed uses of renamed symbol.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user