From 403b234a1c43e3cc3744b6387a462f8d696eae87 Mon Sep 17 00:00:00 2001 From: BlueStag <71090710+BlueStaggo@users.noreply.github.com> Date: Mon, 2 Jan 2023 12:49:01 +0000 Subject: [PATCH] Fix Keyboard typo --- src/rcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index bddb8db8b..75574863d 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -5315,7 +5315,7 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i if ((key == CORE.Input.Keyboard.exitKey) && (action == GLFW_PRESS)) glfwSetWindowShouldClose(CORE.Window.handle, GLFW_TRUE); #if defined(SUPPORT_SCREEN_CAPTURE) - if ((key == CORE.Input.Keyboad.screenshotKey) && (action == GLFW_PRESS)) + if ((key == CORE.Input.Keyboard.screenshotKey) && (action == GLFW_PRESS)) { #if defined(SUPPORT_GIF_RECORDING) if (mods == GLFW_MOD_CONTROL) @@ -6439,7 +6439,7 @@ static void PollKeyboardEvents(void) } #if defined(SUPPORT_SCREEN_CAPTURE) - if (CORE.Input.Keyboard.currentKeyState[CORE.Input.Keyboad.screenshotKey] == 1) + if (CORE.Input.Keyboard.currentKeyState[CORE.Input.Keyboard.screenshotKey] == 1) { TakeScreenshot(TextFormat("screenshot%03i.png", screenshotCounter)); screenshotCounter++;