Fix Keyboard typo

This commit is contained in:
BlueStag 2023-01-02 12:49:01 +00:00 committed by GitHub
parent 4753dca03f
commit 403b234a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++;